NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev, #236 most downloaded on pub.dev
Small, easy to use and extensible logger which prints beautiful logs.
Latest stable
2.8.0
Last release 2 months ago
05 Sep 2026
Ships fairly regularly
a new release about every 3 months
Most releases are documented
notes for 35 of 39 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
41 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Expose separate logEvent method. Closes ( #116 ).
feat: Use clock for getting default log event time by @alverone in #112
Your coding agent can read these notes before it upgrades. Set up the MCP server →
clock for getting default log event time. Thanks to @alverone
(#112).PrettyPrinter: Fixed the showing of internal package:logger log lines in the stack trace on Flutter/Dart Web. Closes #102 .
package:logger log lines in the stack trace on Flutter/Dart Web.meta package version requirement.Full Changelog: v2.6.1...v2.6.2
AdvancedFileOutput: Fix race condition while flushing the buffer. Thanks to @sap1tz ( #99 ).
Full Changelog: v2.6.0...v2.6.1
StateError).
Closes #99, thanks to @sap1tz.Added log level comparison operators by @busslina in #90
AdvancedFileOutput: Added support for custom fileUpdateDuration . Thanks to @shlowdy ( #86 ).
fileUpdateDuration. Thanks to @shlowdy (#86).Full Changelog: v2.4.0...v2.5.0
Added pub.dev topics . Thanks to @jonasfj ( #74 ).
AdvancedFileOutput: Added file deletion option. Thanks to @lomby92 ( #71 ).
Added AdvancedFileOutput. Thanks to @pyciko ( #65 ).
Improved README explanation about debug mode. Thanks to @gkuga ( #57 ).
Meta update: Updated repository links to https://github.com/SourceHorizon/logger.
Full Changelog: https://github.com/SourceHorizon/logger/compare/v2.0.2...v2.0.2+1
Moved the default log level assignment to prevent weird lazy initialization bugs. Mitigates #38.
Full Changelog: https://github.com/SourceHorizon/logger/compare/v2.0.1...v2.0.2
Updated README to reflect v2.0.0 log signature change.
Full Changelog: https://github.com/SourceHorizon/logger/compare/v2.0.0...v2.0.1
Level.verbose, Level.wtf and Level.nothing have been deprecated and are replaced by Level.trace, Level.fatal and Level.off. Additionally Level.all has…
logger_flutter project. Thanks to @yangsfang (#32).Level.verbose, Level.wtf and Level.nothing have been deprecated and are replaced by Level.trace, Level.fatal and Level.off.
Additionally Level.all has been added.levelColors and levelEmojis as constructor parameter.log signature has been changed to closer match dart's developer log function and allow for future optional parameters.
Additionally, time has been added as an optional named parameter to support providing custom timestamps for LogEvents instead of DateTime.now().
logger.e("An error occurred!", error, stackTrace);
logger.e("An error occurred!", error: error, stackTrace: stackTrace);
init and close methods of LogFilter, LogOutput and LogPrinter are now async along with Logger.close(). (Fixes FileOutput)includeBox is now private.errorMethodCount is now only considered if an error has been provided. Otherwise methodCount is used.levelColors and levelEmojis have been renamed to defaultLevelColors and defaultLevelEmojis and are used as fallback for their respective constructor parameters.Full Changelog: https://github.com/SourceHorizon/logger/compare/v1.4.0...v2.0.0
Bumped upper SDK constraint to <4.0.0.
<4.0.0.excludePaths to PrettyPrinter. Thanks to @Stitch-Taotao (#13).Level.error and Level.wtf to improve readability.Full Changelog: https://github.com/SourceHorizon/logger/compare/v1.3.0...v1.4.0
Fixed stackTrace count when using stackTraceBeginIndex. Addresses #114.
stackTraceBeginIndex. Addresses #114.isClosed. Addresses #130.time to LogEvent.error handling to LogfmtPrinter.Full Changelog: https://github.com/SourceHorizon/logger/compare/v1.2.2...v1.3.0
Fixed conditional LogOutput export. Credits to @ChristopheOosterlynck #4.
Full Changelog: https://github.com/SourceHorizon/logger/compare/v1.2.1...v1.2.2
Reverted ${this} interpolation and added linter ignore. #1
${this} interpolation and added linter ignore. #1Full Changelog: https://github.com/SourceHorizon/logger/compare/v1.2.0...v1.2.1
Added origin LogEvent to OutputEvent. Addresses #133.
Full Changelog: https://github.com/SourceHorizon/logger/compare/v1.1.0...v1.2.0
Enhance boxing control with PrettyPrinter. Credits to @timmaffett
Full Changelog: https://github.com/SourceHorizon/logger/compare/v1.0.0...v1.1.0
## What's Changed * Stable nullsafety Full Changelog: https://github.com/SourceHorizon/logger/compare/v1.0.0-nullsafety.0...v1.0.0
Full Changelog: https://github.com/SourceHorizon/logger/compare/v1.0.0-nullsafety.0...v1.0.0
Convert to nullsafety. Credits to @DevNico
Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.9.4...v1.0.0-nullsafety.0
Remove broken platform detection.
Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.9.3...v0.9.4
Add MultiOutput. Credits to @gmpassos.
MultiOutput. Credits to @gmpassos.Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.9.2...v0.9.3
Add PrefixPrinter. Credits to @tkutcher.
PrefixPrinter. Credits to @tkutcher.HybridPrinter. Credits to @tkutcher.Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.9.1...v0.9.2
Fix logging output for Flutter Web. Credits to @nateshmbhat and @Cocotus.
Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.9.0...v0.9.1
Add colored output to SimplePrinter
Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.8.2...v0.8.3
## What's Changed * Add StreamOutput Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.8.1...v0.8.2
Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.8.1...v0.8.2
## What's Changed * Deprecate callbacks Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.8.0...v0.8.1
Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.8.0...v0.8.1
Update library structure (thanks @marcgraub!)
Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.7.0+2...v0.8.0
Added ProductionFilter, FileOutput, MemoryOutput, SimplePrinter
ProductionFilter, FileOutput, MemoryOutput, SimplePrinterLogFilter, LogPrinter and LogOutputFull Changelog: https://github.com/SourceHorizon/logger/compare/v0.6.0...v0.7.0
## What's Changed * Fix pedantic Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.7.0...v0.7.0+1
Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.7.0...v0.7.0+1
## What's Changed * Remove screenshot Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.7.0+1...v0.7.0+2
Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.7.0+1...v0.7.0+2
Added option to output timestamp
LogOutputLogPrinterFull Changelog: https://github.com/SourceHorizon/logger/compare/v0.5.0...v0.6.0
## What's Changed * Added emojis * LogFilter is a class now Full Changelog: https://github.com/SourceHorizon/logger/compare/v0.4.0...v0.5.0
LogFilter is a class nowFull Changelog: https://github.com/SourceHorizon/logger/compare/v0.4.0...v0.5.0
## First version of the new logger Full Changelog: https://github.com/SourceHorizon/logger/commits/v0.4.0
Full Changelog: https://github.com/SourceHorizon/logger/commits/v0.4.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.