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
This functionality has been added by the latest 0.0.5 release.
Default Keys
You can request that the formatter always include certain attributes on the
log record by using the keys parameter. If the key you want to include in
your output is represented by a different attribute on the log record, then
you can use the mapping parameter to provide that key/attribute mapping.
Notice, the keys parameter defaults to ["at"] and will be overridden
by any provided keys.
We should be able to configure the logger to always include some default keys. For example, a user may want to always include a time or logger key.
This functionality is seen in the python-json-logger.
The text was updated successfully, but these errors were encountered: