Crate mlzlog [] [src]

A collection of log4rs appenders and configuration for logging in the same style as the Python package mlzlog.

Reexports

pub extern crate log4rs;

Structs

ConsoleAppender

A log4rs appender that writes ANSI colored log messages to stdout.

RollingFileAppender

A log4rs appender that writes to daily rolling logfiles with the date used as a suffix in the filename.

Functions

init

Initialize default mlzlog settings.

set_thread_prefix

Set logging prefix for the current thread.