diff --git a/src/test.cpp b/src/test.cpp index e4ef66f3..121d4afd 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -17,13 +17,13 @@ int main(int argc, char* argv[]) auto null_sink = std::make_shared(); auto stdout_sink = std::make_shared(); auto async = std::make_shared(100); - auto fsink = std::make_shared("newlog", "txt", 1024*1024*10 , 2); + //auto fsink = std::make_shared("newlog", "txt", 1024*1024*10 , 2); + auto fsink = std::make_shared("midnight", "txt"); - async->add_sink(null_sink); + async->add_sink(fsink); c11log::logger logger("test"); logger.add_sink(async); - std::atomic counter { 0 }; auto counter_ptr = &counter;