nlog

Crates.ionlog
lib.rsnlog
version0.2.2
sourcesrc
created_at2020-12-05 12:44:22.696201
updated_at2021-01-05 15:14:51.999525
descriptionLog implementation that sends text to a Windows notepad window.
homepage
repositoryhttps://gitdab.com/LunarLambda/nlog
max_upload_size
id319835
size14,570
Luna Saphie Mittelbach (LunarLambda)

documentation

https://docs.rs/nlog

README

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.

Commit count: 0

cargo fmt