The Logger interface allows messages to be logged at three levels (debug, info, error), but the level can only be conveyed to Formatter.Format via the LogEntry struct.
Currently the LogEntry struct communicates this information between Logger and Formatter via a boolean field Verbose, which obviously only allows 2 levels to be differentiated.
Is there an intention to extend this API to allow all three levels to be communicated between Logger and Formatter?
I can see from #15 that there was a deliberate decision to log this with level=INFO, but I wonder whether this is unnecessarily restrictive and somewhat misleading.
The
Logger
interface allows messages to be logged at three levels (debug, info, error), but the level can only be conveyed toFormatter.Format
via theLogEntry
struct.Currently the LogEntry struct communicates this information between Logger and Formatter via a boolean field
Verbose
, which obviously only allows 2 levels to be differentiated.Is there an intention to extend this API to allow all three levels to be communicated between
Logger
andFormatter
?