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