mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
code formatting
This commit is contained in:
@@ -10,7 +10,7 @@ static std::string log_to_str(const std::string &msg, const Args &... args)
|
||||
spdlog::logger oss_logger("pattern_tester", oss_sink);
|
||||
oss_logger.set_level(spdlog::level::info);
|
||||
|
||||
oss_logger.set_formatter(std::unique_ptr<spdlog::formatter>(new spdlog::pattern_formatter(args...)));
|
||||
oss_logger.set_formatter(std::unique_ptr<spdlog::formatter>(new spdlog::pattern_formatter(args...)));
|
||||
|
||||
oss_logger.info(msg);
|
||||
return oss.str();
|
||||
|
Reference in New Issue
Block a user