Crate xlog

source ·
Expand description

xlog-rs

A simple logging library for Rust.

§Examples

use xlog::warn;

xlog::log::init(std::io::stdout(), xlog::log::Level::Trace);

warn!("warn message");

Modules§

Macros§

  • Logs a message at the debug level.
  • Logs a message at the error level.
  • Logs a message at the info level.
  • Dispatch message with the type and level
  • Logs a message at the trace level.
  • Logs a message at the warn level.