Crate ez_log

source ·
Expand description

§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! macro is used to log errors.
  • log_info! macro is used to log informations.
  • log_warn! macro is used to log warning.