Skip to content

Commit

Permalink
chore: refine log
Browse files Browse the repository at this point in the history
  • Loading branch information
shuai132 committed Feb 17, 2025
1 parent d8dff87 commit 886e39d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rpc_core/detail/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ static std::mutex& mutex() {
};
#endif
#define L_O_G_PRINTF(fmt, ...) { \
std::lock_guard<std::mutex> lock(L_O_G_NS_MUTEX::mutex()); \
std::lock_guard<std::mutex> L_O_G_NS_lock(L_O_G_NS_MUTEX::mutex()); \
RPC_CORE_LOG_PRINTF_DEFAULT(fmt, ##__VA_ARGS__); \
}
#else
Expand Down

0 comments on commit 886e39d

Please sign in to comment.