logging_config 0.4.7

Flutter Android iOS web

A plugin that makes it easier to configure logging handlers and output, including loggers in isolates

logging_config #

pub package Coverage Status

A plugin that helps you configure loggers from the [logger] package, particularly across spawned isolates.

Usage #

Configure the root logger

/// Configure the root logger
configureLogging(LogConfig.root(Level.WARN));

/// Configure the log output handler
/// By default, you can use LoggingHandler.console() or LoggingHandler.dev() or
/// you could implement your own that writes logs to an external system
configureLogging(LogConfig(logLevels: {"myLoggerName": Level.INFO}, 
	handler: LoggingHandler.dev()));
0
likes
90
pub points
86%
popularity

Publisher

sunnyapp.co

A plugin that makes it easier to configure logging handlers and output, including loggers in isolates

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter, js, logging, pedantic, worker_service

More

Packages that depend on logging_config