- Major release
- Remove
dart:html
dependency
- BREAKING: Refactoring
LogMessage
andLogMessageWithStackTrace
events
- Add
l.log
method - Add
LogContext
for each log event
- Add
overrideOutput
to options - allow to use custom message formatting and print handler. If returnsnull
then the message will not be output to the console by default logger. You can use it to print to a file or to a database or for raw JSON output.
- Refactoring
- Restore
LogMessage
andLogMessageWithStackTrace
classes from JSON - BREAKING: Date format in JSON is now serialized microseconds since epoch instead of seconds since epoch
- Dart 3.0.0 ready
- 100% coverage
- Minor bug with Stack Overflow exception in multiple zones without print handler
- Add
printColors
in LogOptions
- Update changelog
- Add
outputInRelease
in LogOptions
- Export
LogMessageWithStackTrace
- Creating
LogMessageWithStackTrace
insteadLogMessage
only ifStackTrace
exist.
- Total refactoring
- Null safety support
capture
feature- customization through zones
- Simplification
- Use
print
whenstdout
is unavailable
- Flutter example
print
with root zone at io
capture
featurehandlePrint
featuremessageFormatting
feature
- New badges
- Non nullable by default
- Full refactoring
- Simplification
- BREAKING: Remove progress feature
- BREAKING: Remove middleware function feature
- BREAKING: Store logs at txt file and indexed db feature
- Non nullable ready
- Support multiline pretty output
- Three short form to access the instance of Logger
L.instance
L.I
l
- refactoring and new lints (pedantic + effective dart)
- Remove default factory L()
- Fix terminal at Android Studio in Linux
- Fix progress table in Readme
- Upd readme
- dartfmt
- Add progress as p method
- Colorize output if supported
- Made all prefixes uppercase
- Add [wide] for display wide prefix entry
- Add a middleware and stream
- Everything is documented
- Add mobile support
- Some cosmetic changes
- Initial release with main functional