mhlog
mhlog is a simple, thread-safe logging library.
Usage
[]
= "1.0"
extern crate mhlog;
use ;
init;
info!;
error!;
Writes log messages to stdout/stderr, and optionally to a log file. If an error occurs when writing to the log file it panics.
Each log message is prefixed, indicating the logging level. Logging levels are:
- Fatal
- Error
- Warning
- Important
- Info
- Debug
- Trace
Changelog
v1.0.1
- Added example