shortened enum policy name and moved into common.h

This commit is contained in:
gabime
2015-01-15 10:34:50 +02:00
parent cd2a484e96
commit 89afa909e1
7 changed files with 25 additions and 25 deletions

View File

@@ -75,6 +75,17 @@ inline const char* to_str(spdlog::level::level_enum l)
}
} //level
//
// Async mode - off by default.
//
enum class async_overflow_policy
{
block_retry, // Block / yield / sleep until message can be enqueued
discard_log_msg // Discard the message it enqueue fails
};
//
// Log exception
//