logging_config

Last updated:

0 purchases

logging_config Image
logging_config Images
Add to Cart

Description:

logging config

logging_config #


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()));
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.