LogarConfig class
Configuration for Logar
Constructors
- 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})
- 
          
            const
Properties
- enabled → bool
- 
  Whether logging is enabled globally
  final
- format → LogFormat
- 
  Output format
  final
- globalPrefix → String?
- 
  Custom prefix for all logs
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- includeStackTrace → bool
- 
  Whether to include stack traces for errors
  final
- includeTimestamp → bool
- 
  Whether to include timestamps
  final
- maxMessageLength → int
- 
  Maximum length for log messages (0 = no limit)
  final
- merchantId → String?
- 
  Merchant ID
  final
- minimumLevel → LogLevel
- 
  Minimum log level to output
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- terminalId → String?
- 
  Terminal ID
  final
Methods
- 
  copyWith({LogLevel? minimumLevel, LogFormat? format, bool? enabled, bool? includeStackTrace, bool? includeTimestamp, int? maxMessageLength, String? globalPrefix, String? merchantId, String? terminalId}) → LogarConfig 
- 
  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