LoggingBehaviorCollection
最新版的 SDK 已不支持此类。
扩展:Object
应用安装包:accountkit
构造函数
LoggingBehaviorCollection()
public LoggingBehaviorCollection()
实例方法
add(LoggingBehavior)

Certain logging behaviors are available for debugging beyond those that should be enabled in production.

Enables a particular extended logging in the SDK.

public void add(LoggingBehavior behavior)
参数描述
behaviorThe LoggingBehavior to enable
clear()

Certain logging behaviors are available for debugging beyond those that should be enabled in production.

Disables all extended logging behaviors.

public void clear()
get()

Certain logging behaviors are available for debugging beyond those that should be enabled in production.

Returns the types of extended logging that are currently enabled.

public Set get()
Returns
A set containing enabled logging behaviors
isEnabled(LoggingBehavior)

Certain logging behaviors are available for debugging beyond those that should be enabled in production.

Checks if a particular extended logging behavior is enabled.

public boolean isEnabled(LoggingBehavior behavior)
参数描述
behaviorThe LoggingBehavior to check
Returns
Whether behavior is enabled
remove(LoggingBehavior)

Certain logging behaviors are available for debugging beyond those that should be enabled in production.

Disables a particular extended logging behavior in the SDK.

public void remove(LoggingBehavior behavior)
参数描述
behaviorThe LoggingBehavior to disable