LoggingOptions class

The options for Logging

Use the predefined options LoggingOptions.development or LoggingOptions.production or create your own

Constructors

LoggingOptions.new({ErrorWidgetBuilder? widgetErrorBuilder, LoggingLogFilter filter = const LoggingDevelopmentLogFilter(), LoggingServerFilter serverFilter = const LoggingDevelopmentServerFilter(), LoggingLogPrinter printer = const LoggingPrettyLogPrinter(), LoggingLogOutput output = const LoggingConsoleLogOutput()})
LoggingOptions.development({ErrorWidgetBuilder? widgetErrorBuilder, LoggingLogFilter filter = const LoggingDevelopmentLogFilter(), LoggingServerFilter serverFilter = const LoggingDevelopmentServerFilter(), LoggingLogPrinter printer = const LoggingPrettyLogPrinter(), LoggingLogOutput output = const LoggingConsoleLogOutput()})
Used for development uses pretty printer for easy overview
LoggingOptions.production({ErrorWidgetBuilder? widgetErrorBuilder, LoggingLogFilter filter = const LoggingProductionLogFilter(), LoggingServerFilter serverFilter = const LoggingProductionServerFilter(), LoggingLogPrinter printer = const LoggingSimpleLogPrinter(), LoggingLogOutput output = const LoggingConsoleLogOutput()})
Used for production uses simple printer

Properties

filter LoggingLogFilter
final
hashCode int
The hash code for this object.
no setterinherited
output LoggingLogOutput
final
printer LoggingLogPrinter
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverFilter → LoggingServerFilter
final
widgetErrorBuilder → ErrorWidgetBuilder?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

defaultErrorBuilder ↔ ErrorWidgetBuilder
getter/setter pair