Crate simple_log

Source

Re-exports§

pub extern crate log;

Modules§

level
macros

Macros§

debug
error
info
quick
trace
warn

Structs§

LogConfig
LogConfigBuilder
The LogConfig with builder wrapper.
TargetLevel

Enums§

Level
An enum representing the available verbosity levels of the logger.
LevelFilter
An enum representing the available verbosity level filters of the logger.

Constants§

DEFAULT_DATE_TIME_FORMAT
DEFAULT_HOUR_TIME_FORMAT

Functions§

console
Provide init simple-log instance with stdout console on terminal.
file
Provide init simple-log instance with write file.
get_log_conf
Get simple-log global config LogConfig
new
The new method provide init simple-log instance with config.
quick
This method can quick init simple-log with no configuration.
quick_log_level
update_log_conf
Update simple-log global config LogConfig.
update_log_level
update simple-log global config log level.

Type Aliases§

SimpleResult