FTLogger class

Constructors

FTLogger()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

logConfig({double? sampleRate, bool? enableLinkRumData, bool? enableCustomLog, bool? printCustomLogToConsole, FTLogCacheDiscard? discardStrategy, int? logCacheLimitCount, List<FTLogStatus>? logLevelFilters, Map<String, String>? globalContext}) Future<void>
配置日志输出配置 sampleRate 采样率 enableLinkRumData 是否与 RUM 关联 enableCustomLog 是否开启自定义日志 printCustomLogToConsole 是否打印自定义到控制台 discardStrategy 日志丢弃策略 logLevelFilters 日志等级过滤 globalContext 自定义全局参数
logging(String content, FTLogStatus status, {Map<String, String>? property, bool? isSilence}) Future<void>
输出日志 content 日志内容 status 日志状态 property 附加属性参数(可选)
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