copyWith method
Logger
copyWith({
- String? service,
- String? defaultModule,
- LoggerOptions? options,
- LokiOptions? lokiOptions,
- LoggerFilter? filter,
Implementation
Logger copyWith({
String? service,
String? defaultModule,
LoggerOptions? options,
LokiOptions? lokiOptions,
LoggerFilter? filter,
}) =>
Logger(
service: service ?? this.service,
defaultModule: defaultModule ?? this.defaultModule,
options: options ?? this.options,
lokiOptions: lokiOptions ?? this.lokiOptions,
filter: filter ?? this.filter,
);