pub fn loghelper_formatlogline(loglevel: &str, message: &str) -> String
Expand description

Format a line for logging, including time stamp.

Parameters

  • loglevel

    Level of logging (“TRACE”, “INFO”, “ERROR”)

  • message

    Message to log

Returns

A string containing the formatted log line.