Crate ez_log

Source
Expand description

§ez_log: Simple logging library for Rust

§Features

Ez_log can be configured using Rust features.

Default features:

  • color: Colored terminal output.
  • time: Adds time for every log output. Time format can be configured by editing EZ_LOG_TIME_FORMAT env variable, using chrono format syntax.

Optional features:

  • dump: Creates file for every day and writes to it log output. Directory for those files can be configured by editing EZ_LOG_LOGS_DIR env variable.

Macros§

log_error
log_error! macro is used to log errors.
log_info
log_info! macro is used to log informations.
log_warn
log_warn! macro is used to log warning.

Enums§

LogType

Functions§

get_msg_label