mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-28 00:10:21 +08:00
Code formatting
This commit is contained in:
parent
668b56f1fe
commit
08ed7f2737
@ -32,7 +32,7 @@ public:
|
|||||||
discard_new // Discard the log message if the queue is full
|
discard_new // Discard the log message if the queue is full
|
||||||
};
|
};
|
||||||
|
|
||||||
async_sink(size_t queue_size, std::function<void()> on_thread_start, std::function<void()> on_thread_stop) {
|
async_sink(size_t queue_size, std::function<void()> on_thread_start, std::function<void()> on_thread_stop) {
|
||||||
if (queue_size == 0 || queue_size > max_queue_size) {
|
if (queue_size == 0 || queue_size > max_queue_size) {
|
||||||
throw spdlog_ex("async_sink: invalid queue size");
|
throw spdlog_ex("async_sink: invalid queue size");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user