move to common

pull/34/head
Denis Ivaykin 11 years ago
parent 295e189b7e
commit 307043883b

@ -75,6 +75,13 @@ inline const char* to_str(spdlog::level::level_enum l)
}
} //level
//Async queue overflow options
enum class async_queue_overflow_policy
{
block_retry, // Block / yield / sleep until message can be enqueued
discard_log_msg // Discard the message it enqueue fails
};
//
// Log exception
//

@ -61,11 +61,6 @@ void set_level(level::level_enum log_level);
// Async mode - off by default.
//
enum class async_queue_overflow_policy
{
block_retry, // Block / yield / sleep until message can be enqueued
discard_log_msg // Discard the message it enqueue fails
};
// Turn on async mode and set the queue size for each async_logger

Loading…
Cancel
Save