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
There are two ways to configure formatting: you can either just change the format string or hook in a custom format function.
All the handlers that come with logbook and that log into a string use the StringFormatter by default. Their constructors accept a format string which sets the logbook.Handler.format_string attribute. You can override this attribute in which case a new string formatter is set: (...)
There is no mention of the fields which can be used in the formatting (similar to the LogRecord attributes in standard Python logging module)
The text was updated successfully, but these errors were encountered:
The documentation paragraph Configuring the Logging Format mentions that
There is no mention of the fields which can be used in the formatting (similar to the LogRecord attributes in standard Python
logging
module)The text was updated successfully, but these errors were encountered: