Emulator Logging

The next piece of setup that I'd like to handle is getting a more robust logging system setup. I don't necessarily need it to write to files just yet, standard output is fine

However, some of the nice things to have would be

[2024-10-23 10:23:34 AM] [INFO ] [MSXEmuDebugger.cpp:24] - Some sprintf formatted output

The implementation will need to use macros that can call into a Singleton class. For now, since we're single threaded all the way through, this should work fine for us, but we'd need extra protection if we were to do this multithreaded

Let's get to it, and I'll make notes as we go

Implementation Notes

Let's start first with something super simple and just getting a plain string logged with a macro