oklog 1.3.0
oklog: ^1.3.0 copied to clipboard
A simple yet capable logging utility for Dart and Flutter. Just log. ok.
1.3.0 #
ErrorAlertSinkaccepts an optionalmetadataparameter (Map<String, String>) for attaching common information such as app name, version, and environment to every error report.SlackErrorExporterrenders metadata as a context block beneath the error header in the Slack notification.
1.2.0 #
This release contains breaking changes. The API has been significantly redesigned. Please refer to the README for updated usage.
1.1.0 #
- Added
noticelog level betweeninfoandwarn. - Added
log.obs.eventfor logging structured observability events. - Added
log.obs.metricfor logging numeric observability metrics. Loggeris no longer abstract — instantiate it directly and attach sinks.- Renamed
ConsoleLoggertoDefaultLogger. - Removed
DummyLogger; uselog.sinks.clear()to silence output. - Global
logvariable is nowfinal.
1.0.0 #
- Initial version.