boost::log::thread_access_mode_of — The trait allows to select an access mode by the lock type.
// In header: <boost/log/utility/strictest_lock.hpp> template<typename LockT> struct thread_access_mode_of { };