https://github.com/yvt/rust-windebug_logger
A logger that redirects all messages to OutputDebugMessageW (Win32 debug output)
https://github.com/yvt/rust-windebug_logger
logger rust win32
Last synced: 6 months ago
JSON representation
A logger that redirects all messages to OutputDebugMessageW (Win32 debug output)
- Host: GitHub
- URL: https://github.com/yvt/rust-windebug_logger
- Owner: yvt
- License: apache-2.0
- Created: 2020-01-22T14:27:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-28T11:29:41.000Z (about 6 years ago)
- Last Synced: 2025-02-16T11:04:39.483Z (over 1 year ago)
- Topics: logger, rust, win32
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# windebug_logger
[](https://crates.io/crates/windebug_logger)
[](https://docs.rs/windebug_logger)

A logger that redirects all messages to the [`OutputDebugStringW`]
Win32 API function in a format similar to [`simple_logger`].
[`OutputDebugStringW`]: https://docs.microsoft.com/en-us/windows/win32/api/debugapi/nf-debugapi-outputdebugstringw
[`simple_logger`]: https://crates.io/crates/simple_logger
This crate is useful if you are writing a Windows GUI application, where
stdout and stderr do not work. The messages outputted by
`OutputDebugStringW` can be monitored using a program such as [DebugView]
and Visual Studio's "Output" window.
[DebugView]: https://docs.microsoft.com/en-us/sysinternals/downloads/debugview
License: MIT/Apache-2.0