kbembedded / msemu

MailStation EMUlator. Archived, but functional, don't expect any further development.
BSD 2-Clause "Simplified" License
15 stars 3 forks source link

Expand log options #38

Open kbembedded opened 5 years ago

kbembedded commented 5 years ago

In https://github.com/kbembedded/msemu/pull/35#discussion_r331761742 it was suggested to expand logging capabilities to have different layers.

e.g. log_debug() would be very very verbose log_trace() would only log/display opcodes executed, still noisy log_warn() to log warnable things (not sure what would fall here) log_info() to always output/log, similar to error but not actually an error log_error() to log critical errors that happen

kbembedded commented 4 years ago

As of current work in refactor/kbe/debug branch, log_debug(), log_trace(), and log_error() are implemented. I think this is about as much of a separation thats possible and is still useful.