copyWith method
Implementation
LogarConfig copyWith({
LogLevel? minimumLevel,
LogFormat? format,
bool? enabled,
bool? includeStackTrace,
bool? includeTimestamp,
int? maxMessageLength,
String? globalPrefix,
String? merchantId,
String? terminalId,
}) {
return LogarConfig(
minimumLevel: minimumLevel ?? this.minimumLevel,
format: format ?? this.format,
enabled: enabled ?? this.enabled,
includeStackTrace: includeStackTrace ?? this.includeStackTrace,
includeTimestamp: includeTimestamp ?? this.includeTimestamp,
maxMessageLength: maxMessageLength ?? this.maxMessageLength,
globalPrefix: globalPrefix ?? this.globalPrefix,
merchantId: merchantId ?? this.merchantId,
terminalId: terminalId ?? this.terminalId,
);
}