LogarConfig constructor
const
LogarConfig({
- LogLevel minimumLevel = kDebugMode ? LogLevel.debug : LogLevel.info,
- LogFormat format = kDebugMode ? LogFormat.pretty : LogFormat.json,
- bool enabled = true,
- bool includeStackTrace = true,
- bool includeTimestamp = true,
- int maxMessageLength = 0,
- String? globalPrefix,
- String? merchantId,
- String? terminalId,
Implementation
const LogarConfig({
this.minimumLevel = kDebugMode ? LogLevel.debug : LogLevel.info,
this.format = kDebugMode ? LogFormat.pretty : LogFormat.json,
this.enabled = true,
this.includeStackTrace = true,
this.includeTimestamp = true,
this.maxMessageLength = 0,
this.globalPrefix,
this.merchantId,
this.terminalId,
});