Closed thatcoderguy closed 5 days ago
Awesome thanks mate this should help massively
I know this is already merged, but I think the config setting should be changed to set the log level (info, debug, error, etc) rather than a boolean to enable/disable debug logging. The log level config setting should only need to be set in a single location in the code as well rather than passed around between functions.
I know this is already merged, but I think the config setting should be changed to set the log level (info, debug, error, etc) rather than a boolean to enable/disable debug logging. The log level config setting should only need to be set in a single location in the code as well rather than passed around between functions.
I was thinking about setting the log level in the Log object... I'll make that change shortly :)
The log level is currently being set here (https://github.com/sim0n00ps/OF-DL/blob/master/OF%20DL/Program.cs#L35). It should just be a matter of creating a config setting for the log level, and dynamically setting the minimum level on that line instead of having the hard-coded log level.
Hopefully will make debugging much easier. And if this doesn't help, we at least have a way of adding extra debugging in other areas now.