Nanosecond-precision timestamp prefixes with boost::log

50 Views Asked by At

Currently I use boost::log to log to the console with:

boost::log::add_console_log(std::clog, keywords::format = "%TimeStamp% %Message%");

How can I change the printed timestamps to have nanosecond precision?

Assume that my timing system can report nanoseconds reliably.

0

There are 0 best solutions below