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
publicenumLogLevel:Int{case info
case verbose
case warning
case error
}
Having those levels is nice as it allows the client code to decide how much information should be logged (or presented to the users).
The order of log levels is smoothly distributed between the most verbose (like verbose, trace or debug) and critical (error or critical etc).
I think the info and verbose cases could be swapped to allow uses to specify info if they want to know only general information about the generation process, or verbose if they the want to dig into details.
The text was updated successfully, but these errors were encountered:
Resolves#93
Ensures `verbose` log level prints out more details than `info`. Updated signpost methods to be active only when `verbose` log level is used. Signpost traces will not be collected for `info`, `warn`, and `error` levels.
Signed-off-by: Marcin Iwanicki <marcin@iwanicki.me>
uhooi
pushed a commit
to uhooi/mockolo
that referenced
this issue
Apr 27, 2021
Resolvesuber#93
Ensures `verbose` log level prints out more details than `info`. Updated signpost methods to be active only when `verbose` log level is used. Signpost traces will not be collected for `info`, `warn`, and `error` levels.
Signed-off-by: Marcin Iwanicki <marcin@iwanicki.me>
The current order of log levels:
Having those levels is nice as it allows the client code to decide how much information should be logged (or presented to the users).
The order of log levels is smoothly distributed between the most verbose (like
verbose
,trace
ordebug
) and critical (error
orcritical
etc).I think the
info
andverbose
cases could be swapped to allow uses to specifyinfo
if they want to know only general information about the generation process, orverbose
if they the want to dig into details.The text was updated successfully, but these errors were encountered: