mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
Refactoring to better support backtrace
This commit is contained in:
@@ -24,7 +24,7 @@ public:
|
||||
: messages_{n_message}
|
||||
{}
|
||||
|
||||
void add_msg(const log_msg &msg)
|
||||
void add(const log_msg &msg)
|
||||
{
|
||||
std::lock_guard<std::mutex> lock{mutex_};
|
||||
messages_.push_back(log_msg_buffer{msg});
|
||||
|
Reference in New Issue
Block a user