[Cppcms-users] log micro seconds
Brought to you by:
artyom-beilis
|
From: 陈抒 <csf...@gm...> - 2012-10-01 08:29:30
|
Hello
When developing a TCP server, always need to measure performance. Is it a
possible to add an option for showing micro seconds(10e-3) in log file?
For now the following statement will generate a log record with date time:
BOOSTER_NOTICE("my_service") << "send bind code succeeded.";
=>
2012-10-01 16:15:43; my_service, notice: send bind code succeeded.
(my_service.cpp:160)
陈抒
Best regards
http://blog.csdn.net/sheismylife
|