Closed olsonpm closed 3 years ago
wow what a pain. After playing around with it some more it looks like
#![windows_subsystem = "windows"]
disables stdout/err ? So the logs get swallowed.
For debugging I can remove that. Normally I'd try to create a PR with a solution but rust has been too frustrating for me to be motivated enough.
It happened to me too... I needed to comment that line when i found this : https://sciter.com/forums/topic/how-to-enable-println-to-print-to-console/ I feel you about the motivation and frustation :)
I've been having a rough time acclimating to rust since this project is my introduction to it
Anyhoo, I'm trying to view logs to debug an issue with the patches not being read in, but I can't get the logs to show. I can get logs to show in a separate little "hello world"ish rust program but this one the logs don't show up.
I've tried installing the exact same versions of log and simple_logger into your project as well as removing the max level feature declaration in cargo.toml and any level filters in your code. Still, in rpatchur/src/main.rs, when I just do
the logs don't show up in the command line
I would appreciate any direction you can give me.
Thanks for the tool