logging 0.11.4
logging: ^0.11.4 copied to clipboard
Provides APIs for debugging and error logging. This library introduces abstractions similar to those used in other languages, such as the Closure JS Logger and java.util.logging.Logger.
0.11.4 #
- Add top level
defaultLevel. - Require Dart
>=2.0.0. - Make detached loggers work regardless of
hierarchicalLoggingEnabled.
0.11.3+2 #
- Set max SDK version to
<3.0.0, and adjust other dependencies.
0.11.3+1 #
- Fixed several documentation comments.
0.11.3 #
-
Added optional
LogRecord.objectfield. -
Logger.logsetsLogRecord.objectif 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 itstoString().
0.11.2 #
- Added
Logger.detached- a convenience factory to obtain a logger that is not attached to this library's logger hierarchy.
0.11.1+1 #
- Include default error with the auto-generated stack traces.
0.11.1 #
- Add support for automatically logging the stack trace on error messages. Note this can be expensive, so it is off by default.
0.11.0 #
- Revert change in
0.10.0.stackTracemust be an instance ofStackTrace. Use theTraceclass from the stack_trace package to convert strings.
0.10.0 #
- Change type of
stackTracefromStackTracetoObject.
0.9.3 #
-
Added optional
LogRecord.zonefield. -
Record current zone (or user specified zone) when creating new
LogRecords.