[#BCLog-Timer-LogMsg] = xref:BCLog.adoc[BCLog]::xref:BCLog/Timer.adoc[Timer]::LogMsg :relfileprefix: ../../ :mrdocs: Formats a log line combining the prefix, the message, and the elapsed time. == Synopsis Declared in `<logging/timer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::string LogMsg(std::string const& msg); ---- == Description 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. == Return Value The formatted log line. == Parameters [cols="1,4"] |=== | Name| Description | *msg* | Message to include in the formatted line. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#