4 releases
0.2.2 | Jan 5, 2021 |
---|---|
0.2.1 | Jan 5, 2021 |
0.1.1 | Dec 6, 2020 |
0.1.0 | Dec 5, 2020 |
#637 in Debugging
14KB
59 lines
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
License
This project is licensed under the MIT license. See LICENSE.txt for more information.
lib.rs
:
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
Dependencies
~52–320KB