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
But, just in case you plan to change this behaviour :)... For my personal use case (JSON structured logging), it would be best if extra was simply a field in LogRecord that I could access in a custom Formatter.
Passing the
extra
param on log calls behaves different in picologging compared to stdlib.Sample code:
Output with std logging:
message=msg foo=bar
Output with picologging:
AttributeError: 'picologging.LogRecord' object has no attribute 'foo'
The text was updated successfully, but these errors were encountered: