Crate windebug_logger

Source
Expand description

A logger that redirects all messages to the OutputDebugStringW Win32 API function in a format similar to 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.

Macros§

init_with_level_static
Initialize the global logger with a specific log level that is determined at compile time.

Functions§

init
Initializes the global logger with a log level set to LogLevel::Trace.
init_with_level
Initialize the global logger with a specific log level.