Closed rbygrave closed 1 year ago
use events
so the first thing that comes to mind is to take the logs we output and keep them in a List
Yes, well an "event" is something like a System.Logger.LEVEL + message (+ maybe a code if we want some business logic to work off codes rather than message content).
The reason for doing this is because sometimes we want the configuration to load completely BEFORE any logging is used. This allows the configuration to put things into System Properties which is used to configure the actual logging.