Added async_nonblocking factory

This commit is contained in:
gabime
2018-07-20 23:20:48 +03:00
parent ddb3002bc1
commit 9cbdd5ffd4
3 changed files with 24 additions and 10 deletions

View File

@@ -121,14 +121,7 @@ inline spdlog::level::level_enum from_str(const std::string &name)
using level_hasher = std::hash<int>;
} // namespace level
//
// Async overflow policy - block by default.
//
enum class async_overflow_policy
{
block, // Block until message can be enqueued
overrun_oldest // Discard oldest message in the queue if full when trying to add new item.
};
//
// Pattern time - specific time getting to use for pattern_formatter.