DartLoggerConfiguration class sealed

DartLoggerConfiguration contains logger configuration

Annotations
  • @freezed

Constructors

DartLoggerConfiguration({required String name, @Default.new(LogFormat.inline) LogFormat format})
format and name are required
const
factory
DartLoggerConfiguration.defaultConfiguration()
Default logger configuration is LogFormat.inline with current executable name as logger name
factory

Properties

copyWith → $DartLoggerConfigurationCopyWith<DartLoggerConfiguration>
Create a copy of DartLoggerConfiguration with the given fields replaced by the non-null parameter values.
no setterinherited
format LogFormat
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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