We have a logger in LimonAPI/util/Logger.h, and interface wise it is good.
Problem is, it is not good implementation wise. Many missing features.
- Per SubSystem log level management.
Using single flag for enabling debug logs is not going to be enough, as it will just flood the logs. We need per subsystem level configuration.
- Sink selection.
Current logger just logs to screen through graphics backend. that means using it for troubleshooting rendering is not possible. It should be able to sink to terminal, file and screen, based on configuration. Also should allow any combination of these.
- Runtime changes.
Configuration changes should reflect at runtime.
We have a logger in LimonAPI/util/Logger.h, and interface wise it is good.
Problem is, it is not good implementation wise. Many missing features.
Using single flag for enabling debug logs is not going to be enough, as it will just flood the logs. We need per subsystem level configuration.
Current logger just logs to screen through graphics backend. that means using it for troubleshooting rendering is not possible. It should be able to sink to terminal, file and screen, based on configuration. Also should allow any combination of these.
Configuration changes should reflect at runtime.