24 #if UUID_LOG_THREAD_SAFE
36 #if UUID_LOG_THREAD_SAFE
37 std::lock_guard<std::mutex> lock{
mutex_};
44 #if UUID_LOG_THREAD_SAFE
45 std::lock_guard<std::mutex> lock{
mutex_};
56 #if UUID_LOG_THREAD_SAFE
57 std::unique_lock<std::mutex> lock{
mutex_};
60 count = std::max((
size_t)1, count);
66 #if UUID_LOG_THREAD_SAFE
74 print_.print(message->name);
76 print_.println(message->text.c_str());
85 #if UUID_LOG_THREAD_SAFE
92 #if UUID_LOG_THREAD_SAFE
93 std::lock_guard<std::mutex> lock{
mutex_};