mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
@@ -42,7 +42,8 @@ public:
|
||||
_flush();
|
||||
}
|
||||
|
||||
void set_color(level::level_enum color_level, const std::string& color) {
|
||||
void set_color(level::level_enum color_level, const std::string& color)
|
||||
{
|
||||
std::lock_guard<Mutex> lock(base_sink<Mutex>::_mutex);
|
||||
colors_[color_level] = color;
|
||||
}
|
||||
|
Reference in New Issue
Block a user