mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 09:31:34 +08:00
nice logger api improvement
This commit is contained in:
parent
9e1ba5167a
commit
1a795a44de
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user