>=2.0.0
.<3.0.0
, and adjust other dependencies.Added optional LogRecord.object
field.
Logger.log
sets LogRecord.object
if the message is not a string or a function that returns a string. So that a handler can access the original object instead of just its toString()
.
0.10.0
. stackTrace
must be an instance of StackTrace
. Use the Trace
class from the stack_trace package to convert strings.stackTrace
from StackTrace
to Object
.Added optional LogRecord.zone
field.
Record current zone (or user specified zone) when creating new LogRecord
s.