Dart API Referencelogging

logging library

Provides APIs for debugging and error logging. This library introduces abstractions similar to those used in other languages, such as the Closure JS Logger and java.util.logging.Logger.

Installing

Use pub to install this package. Add the following to your pubspec.yaml file.

dependencies:
  logging: any

Then run pub install.

For more information, see the logging package on pub.dartlang.org.

Properties

bool hierarchicalLoggingEnabled #

Whether to allow fine-grain logging and configuration of loggers in a hierarchy. When false, all logging is merged in the root logger.

bool hierarchicalLoggingEnabled = false

Classes

Typedefs