Formats a log line combining the prefix, the message, and the elapsed time.
Declared in <logging/timer.h>
std::string
LogMsg(std::string const& msg);
The elapsed time is rendered in the units of TimeType (microseconds, milliseconds, or seconds). If no start time was recorded, only the prefix and message are returned.
The formatted log line.
| Name | Description |
|---|---|
| msg | Message to include in the formatted line. |