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.