Crate logger_utc

Source
Expand description

§logger_utc: Logging with time stamp for Rust

logger_utc provides a handful of functions to log a given message with a time stamp to stdout, a fixed file name, or a dynamic file name, based on the UTC date.

Functions§

log
This function logs the given message with the current UTC time stamp to stdout.
log_to_dyn_file
The file name will be a combination of the current date in the format of %Y-%m-%d and the provided name.
log_to_file
Write a log message including the current UTC time stamp to a file.