RTCLogConfig class

Inheritance
  • Object
  • NativeClass
  • RTCLogConfig

Constructors

RTCLogConfig([NativeClassOptions? options])

Properties

$resource → NativeResource
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
logFilenamePrefix FutureOr<String?>
@brief (Optional) Local log file name prefix. It should follow the regular expression pattern of [a-zA-Z0-9_\@-.]{1,128}.
The final file name will be the prefix followed by "_" and the file creation time, and "_rtclog.log" at the end. For example, logPrefix_2023-05-25_172324_rtclog.log.
getter/setter pair
logFileSize FutureOr<int?>
@brief (Optional) The limits for total log file size in MB. The range is 1 to 100 MB, and the default value is 10 MB.
If logFileSize < 1, it will be set to 1 MB. If logFileSize > 100, it will be set to 100 MB.
The maximum size for a single log file is 2 MB.
If 1 ≤ logFileSize ≤ 2, one log file will be generated. If logFileSize > 2, the first ⌊logFileSize/2⌋ files will be filled with 2 MB each, the ⌊logFileSize/2⌋+1 fill will be filled with logFileSize mod 2.
If the size exceeds the remaining space, the oldest file will be deleted.
getter/setter pair
logLevel FutureOr<LocalLogLevel?>
@brief (Optional) The logging level. See LocalLogLevel{@link #LocalLogLevel}. The default is warning level.
getter/setter pair
logPath FutureOr<String?>
@brief (Required) Local log directory.
getter/setter pair
ready Future<void>
Whether the instance is initialized
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() → void
inherited
nativeCall<T>(String method, [List? args, NativeMethodMeta? meta]) Future<T>
Call instance method
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendInstanceGet<T>(String property) Future<T>
Get instance property
inherited
sendInstancePropertiesGet(dynamic nativeClass) Future<Map<String, dynamic>>
Get instance properties
inherited
sendInstanceSet(String property, dynamic value) Future<void>
Set instance property
inherited
toString() String
A string representation of this object.
inherited
updateResource(NativeResource resource) → void
inherited

Operators

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

Static Properties

codegen_$namespace → dynamic
no setter