Skip to main content

current_timestamp

Function current_timestamp 

Source
pub fn current_timestamp() -> String
Expand description

Create a timestamp string suitable for LogEntry::timestamp.

Returns the current system time formatted as a Unix timestamp string.