clone support in lite logger

This commit is contained in:
gabime
2019-03-24 01:40:20 +02:00
parent 84fb11599e
commit eba37e8fbe
3 changed files with 14 additions and 0 deletions

View File

@@ -174,6 +174,11 @@ public:
//
void set_pattern(std::string pattern);
//
//clone with new name
//
spdlog::lite::logger clone(std::string logger_name);
protected:
std::shared_ptr<spdlog::logger> impl_;
void log_formatted_(lite::level lvl, const fmt::memory_buffer &formatted);