code formatting
This commit is contained in:
parent
fe73255452
commit
33329c80a9
@ -37,7 +37,6 @@ inline spdlog::logger::logger(std::string logger_name, spdlog::sink_ptr single_s
|
||||
|
||||
inline spdlog::logger::~logger() = default;
|
||||
|
||||
|
||||
inline void spdlog::logger::set_formatter(std::unique_ptr<spdlog::formatter> f)
|
||||
{
|
||||
for (auto &sink : sinks_)
|
||||
|
@ -81,7 +81,6 @@ public:
|
||||
return tp_;
|
||||
}
|
||||
|
||||
|
||||
// Set global formatter. Each sink in each logger will get a clone of this object
|
||||
void set_formatter(std::unique_ptr<formatter> formatter)
|
||||
{
|
||||
@ -169,7 +168,10 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
registry_t<Mutex>() : formatter_(new pattern_formatter("%+")){}
|
||||
registry_t<Mutex>()
|
||||
: formatter_(new pattern_formatter("%+"))
|
||||
{
|
||||
}
|
||||
|
||||
~registry_t<Mutex>()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user