Commit 1a795a44 authored by gabime's avatar gabime

nice logger api improvement

parent 9e1ba516
......@@ -31,6 +31,7 @@ int main(int argc, char* argv[])
logger my_logger ("my_logger", nullsink);
auto start = system_clock::now();
for(unsigned int i = 1; i <= howmany ; ++i)
my_logger.info("Hello logger: ");
......
......@@ -56,7 +56,7 @@ public:
template<typename T> details::line_logger error(const T&);
template<typename T> details::line_logger critical(const T&);
template<typename T> details::line_logger fatal(const T&);
private:
friend details::line_logger;
......
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