LogarConfig constructor

const LogarConfig({
  1. LogLevel minimumLevel = kDebugMode ? LogLevel.debug : LogLevel.info,
  2. LogFormat format = kDebugMode ? LogFormat.pretty : LogFormat.json,
  3. bool enabled = true,
  4. bool includeStackTrace = true,
  5. bool includeTimestamp = true,
  6. int maxMessageLength = 0,
  7. String? globalPrefix,
  8. String? merchantId,
  9. 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,
});