mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
More improvements to the async logger
This commit is contained in:
@@ -65,9 +65,8 @@ void set_level(level::level_enum log_level);
|
||||
//
|
||||
|
||||
// Turn on async mode and set the queue size for each async_logger
|
||||
// shutdown_duration indicates max time to wait for the worker thread to log its messages before terminating.
|
||||
|
||||
void set_async_mode(size_t queue_size, const log_clock::duration& shutdown_duration = std::chrono::seconds(5));
|
||||
void set_async_mode(size_t queue_size);
|
||||
// Turn off async mode
|
||||
void set_sync_mode();
|
||||
|
||||
|
Reference in New Issue
Block a user