From 36ef0732b344a0ba24b391b49163f8e288f6da71 Mon Sep 17 00:00:00 2001 From: gabime Date: Mon, 31 Mar 2014 02:24:58 +0300 Subject: [PATCH] nice logger api improvement --- example/example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/example.cpp b/example/example.cpp index 4b138fd0..9394b92e 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -21,7 +21,7 @@ int main(int argc, char* argv[]) const unsigned int howmany = argc <= 1 ? 1000000:atoi(argv[1]); logger cout_logger ("", sinks::stdout_sink()); - cout_logger.info() << "Hello " << "man" << 123 << " : " << 0.45f; + cout_logger.info() << "Hello " << "man" << 123; cout_logger.info("This is very nice! ") << "Yes gabi.." << ":)"; auto fsink = std::make_shared("log", "txt", 1024*1024*50 , 5, 0);