You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
?The text was updated successfully, but these errors were encountered: