mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 01:51:38 +08:00
small stuff
This commit is contained in:
parent
bf75bfd9fb
commit
63812d7a03
@ -59,7 +59,7 @@ int main(int argc, char* argv[])
|
||||
auto null_sink = std::make_shared<sinks::null_sink>();
|
||||
//auto async = std::make_shared<sinks::async_sink>(1000);
|
||||
//async->add_sink(fsink);
|
||||
my_logger.add_sink(null_sink);
|
||||
my_logger.add_sink(fsink);
|
||||
|
||||
|
||||
auto start = system_clock::now();
|
||||
|
@ -70,8 +70,6 @@ inline void c11log::formatters::default_formatter::_format_time(const log_clock:
|
||||
tm_now.tm_min,
|
||||
tm_now.tm_sec);
|
||||
last_tm = tm_now;
|
||||
|
||||
|
||||
}
|
||||
dest << last_time_str;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user