nice logger api improvement
This commit is contained in:
parent
fff6d8f388
commit
36ef0732b3
@ -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<sinks::rotating_file_sink>("log", "txt", 1024*1024*50 , 5, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user