LogConfig class Null safety

Log file configurations.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

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

Properties

filePath String?
The absolute path of log files. The default file path is /storage/emulated/0/Android/data/<package name>/files/agorasdk.log for Android or App Sandbox/Library/caches/agorasdk.log for iOS. [...]
@JsonKey(includeIfNull: false), read / write
fileSize int?
The size (KB) of a log file. The default value is 1024 KB. [...]
@JsonKey(includeIfNull: false), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
level LogLevel?
The output log level of the SDK. See details in LogLevel. [...]
@JsonKey(includeIfNull: false), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited