Commit 665d82d3 authored by Gabi Melman's avatar Gabi Melman

Comments

parent b74b28f5
...@@ -62,7 +62,8 @@ void set_formatter(formatter_ptr f); ...@@ -62,7 +62,8 @@ void set_formatter(formatter_ptr f);
void set_level(level::level_enum log_level); void set_level(level::level_enum log_level);
// Turn on async mode 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.
// queue_size: size of queue (must be power of 2). The queue will pre allocate queue_size entries upon construction. // queue_size: size of queue (must be power of 2). The queue will pre allocate 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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment