mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 10:29:02 +08:00
clone support in lite logger
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user