[][src]Crate nlog

Nlog: Quick and Dirty logging for Windows

Nlog is an implementation of the log crate that sends text to an untitled Windows Notepad window.

#[macro_use]
extern crate log;

fn main() {
    nlog::init(log::LevelFilter::Info).unwrap();

    info!("Hello, world! λ");
}

Features

  • Unicode Support
  • Thread-safe
  • Works with Wine Notepad
  • Completely WYSIWYG

Why?

  • Simple: Just open Notepad, copy or save logs as needed.
  • Silent: No log files piling up
  • Robust: Works even when no console or file I/O is available

Functions

init