Commit 63812d7a authored by gabi's avatar gabi

small stuff

parent bf75bfd9
...@@ -59,7 +59,7 @@ int main(int argc, char* argv[]) ...@@ -59,7 +59,7 @@ int main(int argc, char* argv[])
auto null_sink = std::make_shared<sinks::null_sink>(); auto null_sink = std::make_shared<sinks::null_sink>();
//auto async = std::make_shared<sinks::async_sink>(1000); //auto async = std::make_shared<sinks::async_sink>(1000);
//async->add_sink(fsink); //async->add_sink(fsink);
my_logger.add_sink(null_sink); my_logger.add_sink(fsink);
auto start = system_clock::now(); auto start = system_clock::now();
......
...@@ -70,8 +70,6 @@ inline void c11log::formatters::default_formatter::_format_time(const log_clock: ...@@ -70,8 +70,6 @@ inline void c11log::formatters::default_formatter::_format_time(const log_clock:
tm_now.tm_min, tm_now.tm_min,
tm_now.tm_sec); tm_now.tm_sec);
last_tm = tm_now; last_tm = tm_now;
} }
dest << last_time_str; dest << last_time_str;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment