vit_logger 2.2.1
vit_logger: ^2.2.1 copied to clipboard
A simple logging package with customization in mind.
2.2.1 #
- Fixed missing colored output for
VitStopWatchwhen using [minWarnDuration] or [minErrorDuration].
2.2.0 #
- Added [showInfoLogs] to provide better control over what is printed.
2.1.1 #
- Fix exporting missing TerminalPrinter enum.
2.1.0 #
VitStopWatchwas reworked to improve usage.
2.0.1 #
- Exposed all models to default import;
2.0.0 #
- [BREAKING]
TextLoggerlog methods (info, warm, error and debug) no longer return a future. If you created aTextLoggerthat has logs asyncronously and you need to way for it to finish, you will need to create your own class. - Added
disableColorfulOutputstatic field inTerminalLogger. - Added
printerstatic field toTerminalLogger.
1.2.0 #
- Added event filtering: Each logger instance now has an optional
event. This event can be filtered out by changingVitLogger.eventMatcher.
1.1.0 #
- Added 'debug' log level.
- Added
useColorfulOutputoption to TerminalLog to improve control. This option is useful to disable colors when using Flutter on web since the browser console does not support ANSI escape codes. - TerminalLog's 'info' log level now outputs in green color.
1.0.0 #
- Initial version.