jhark/debuglog
Command line log viewer for Windows' OutputDebugStringA API.
0e2491d8e6d2be38dc0c2ce8e103469886e468bb
A command-line tool for Windows that captures debug log messages sent to the OutputDebugStringA API.
See also Sysinternals' DebugView.
zig build
Usage: debuglog [-p | --pid <pid>] [-e | --stderr] [-o | --stdout]
[-f | --file <file>] [-h | --help]
Captures messages sent by applications using OutputDebugStringA and prints them.
Example:
debuglog # Print messages from all processes
debuglog -p 1234 # Print messages from process with PID 1234
debuglog -- app.exe --foo # Launch `app.exe --foo` and print only its messages.
Messages are printed to stdout by default, or to stderr when spawning a subprocess.
Options:
-p, --pid Filter messages to show only those from the specified process ID
-e, --stderr Send output to stderr
-o, --stdout Send output to stdout
-f, --file Send output to the specified file
-h, --help Show this help and exit
This project is licensed under the ISC License - see the LICENSE file for details.