Crate customlog

Source

Modulesยง

console ๐Ÿ”’
file ๐Ÿ”’
root ๐Ÿ”’

Structsยง

ConsoleLogger
FileLogger
FlushGuard
On drop, calls log::logger()::flush().
FormatArgs
RotateOptions

Enumsยง

Console
RotateSize
RotateTime

Functionsยง

default_filter
default_formatter
flush_on_panic ๐Ÿ”’
Set panic hook that calls FlushGuard::drop.
init
FlushGuard must be dropped on the end of the program. Panic if a logger is already set.
init_for_test
Initialize with ConsoleLogger + Console::Stdout + default_formatter.
init_raw ๐Ÿ”’
translate_args ๐Ÿ”’