log_dogoo 0.1.0
log_dogoo: ^0.1.0 copied to clipboard
Provides simple log functions. This is part of the 'dogoo' package that provides 'Dart' and 'Flutter' utilities.
This is part of the dogoo package that provides Dart
and Flutter
utilities.
Log Dogoo is logging tool.
Features #
The default Logger is available. You can modify Logger by changing some Filter, Formatter, Printer. Alternatively, you can implement LogFilter, LogFormatter, LogPrinter and place them all in LoggerUnit to build your own logger.
Usage #
await Logger().t('trace message'); // ⚪️ trace message
await Logger().d('debug message'); // 🔵 debug message
await Logger().i('info message'); // 🟢 info message
await Logger().w('warning message'); // 🟡 warning message
await Logger().e('error message'); // 🔴 error message
await Logger().f('fatal message'); // 🟣 fatal message
ToDo #
- ❌ File Output
- ❌ Daily Rotate File(Like winston-daily-rotate-file)
- ❌ Send to Slack