common_log

Function common_log 

Source
pub fn common_log<T>(data: T) -> String
where T: ToString,
Expand description

Formats log data with timestamp for each line.

§Arguments

  • T: ToString - The data to be logged.

§Returns

  • String - The formatted log string with timestamps.