LogConfig class

The configuration of the SDK log files.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

LogConfig({String? filePath, int? fileSize, LogLevel? level})
Constructs the LogConfig.

Properties

filePath String?
The absolute or relative path of the log file, which ends with \ or /. Ensure that the path for the log file exists and is writable. You can use this parameter to rename the log files.
getter/setter pair
fileSize int?
The size (KB) of a log file. The default value is 2014 KB. If you set fileSize to 1024 KB, the maximum aggregate size of the log files output by the SDK is 5 MB. If you set fileSize to less than 1024 KB, the setting is invalid, and the maximum size of a log file is still 1024 KB.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
level LogLevel?
The output level of the SDK log file. See LogLevel .
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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