flex_logger_console 1.0.1 copy "flex_logger_console: ^1.0.1" to clipboard
flex_logger_console: ^1.0.1 copied to clipboard

Console logging provider for FlexLogger - provides formatted console output with colors and log levels

1.0.1 #

  • ConsoleFormatter now explicitly sets ansiColorDisabled = false when enableColors = true, ensuring colors render in Flutter's VM service output.
  • ConsoleObserver callbacks (onLog, onException, onError) updated to Future<void> to match FlexObserver changes.
  • Removed the custom JSON formatter example from the barrel file doc comment.

1.0.0 #

  • Initial release
  • ConsoleLoggerProvider implementing LoggerProvider (formatter, output, filter)
  • ConsoleFormatter implementing LogFormatter: lineSymbol, maxLineWidth, enableColors, dateFormat; bordered output with title, timestamp, message, error, stackTrace
  • Colored output via ANSI RGB (uses log’s FlexLog.color or default gray)
  • Platform-specific output: LoggerOutput – IO (print per line) and Web (console.log), conditional exports
  • Optional filter (e.g. MinLevelFilter); default AcceptAllFilter
  • ColorAnsiPen extension: Color.toAnsiPen({bool bg}) for custom log colors
  • Re-exports: AnsiPen, ansiColorDisabled (ansicolor), DateFormat (intl)
0
likes
0
points
281
downloads

Publisher

verified publisherkrajna.dev

Weekly Downloads

Console logging provider for FlexLogger - provides formatted console output with colors and log levels

Homepage
Repository (GitLab)
View/report issues

Topics

#logging #console #debug #colored-output

License

unknown (license)

Dependencies

ansicolor, flex_logger, flutter, intl, web

More

Packages that depend on flex_logger_console