LogConfig class

设置 Agora SDK 输出的日志文件。

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

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

Properties

filePath String
日志文件的绝对路径。日志文件的默认地址是 /storage/emulated/0/Android/data/<package name>/files/agorasdk.log (Android); App Sandbox/Library/caches/agorasdk.log (iOS). [...]
@JsonKey(includeIfNull: false), read / write
fileSize int
单个日志文件的大小,单位为 KB。 [...]
@JsonKey(includeIfNull: false), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
level LogLevel
设置 Agora SDK 的日志输出等级。详见 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
Returns a string representation of this object.
inherited

Operators

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