Quick and Dirty logging for MS Windows
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Luna Catkins ce9fc83c88
fix enabled() being backwords
1 week ago
assets initial 1 month ago
src fix enabled() being backwords 1 week ago
.gitignore initial 1 month ago
Cargo.toml fix enabled() being backwords 1 week ago
LICENSE.txt initial 1 month ago
README.md initial 1 month ago

README.md

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! λ");
}

A Notepad window showing the above log message

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

License

This project is licensed under the MIT license. See LICENSE.txt for more information.