mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Comments
This commit is contained in:
parent
fca8070019
commit
9e88e98d33
@ -64,7 +64,8 @@ void set_level(level::level_enum log_level);
|
|||||||
|
|
||||||
// Turn on async mode (off by default) and set the queue size for each async_logger.
|
// Turn on async mode (off by default) and set the queue size for each async_logger.
|
||||||
// effective only for loggers created after this call.
|
// effective only for loggers created after this call.
|
||||||
// queue_size: size of queue (must be power of 2). Each created logger will pre allocate queue_size entries upon construction.
|
// queue_size: size of queue (must be power of 2):
|
||||||
|
// loggers will pre-allocate a queue with queue_size entries upon construction.
|
||||||
// async_overflow_policy (optional):
|
// async_overflow_policy (optional):
|
||||||
// async_overflow_policy::block_retry (default policy, if queue is full, block until queue has room for the new log entry)
|
// async_overflow_policy::block_retry (default policy, if queue is full, block until queue has room for the new log entry)
|
||||||
// async_overflow_policy::discard_log_msg (never block and discard any new messages when queue overflows)
|
// async_overflow_policy::discard_log_msg (never block and discard any new messages when queue overflows)
|
||||||
|
Loading…
Reference in New Issue
Block a user