This commit is contained in:
gabime
2019-04-27 02:33:33 +03:00
parent ff89f1476d
commit c1c2ff2d07
20 changed files with 260 additions and 24 deletions

View File

@@ -14,6 +14,7 @@
#include <stdexcept>
#include <string>
#include <type_traits>
#include <functional>
#if defined(SPDLOG_WCHAR_FILENAMES) || defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT)
#include <codecvt>
@@ -94,6 +95,7 @@ using filename_t = std::string;
using log_clock = std::chrono::system_clock;
using sink_ptr = std::shared_ptr<sinks::sink>;
using sinks_init_list = std::initializer_list<sink_ptr>;
using err_handler = std::function<void(const std::string &err_msg)>;
// string_view type - either std::string_view or fmt::string_view (pre c++17)
#if defined(FMT_USE_STD_STRING_VIEW)