LoggingBehaviorCollection
Cette classe n’est plus disponible dans la version la plus récente du SDK.
Prolonge :Object
Package :accountkit
Constructeurs
LoggingBehaviorCollection()
public LoggingBehaviorCollection()
Méthodes d’instance
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)
ParamètreDescription
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)
ParamètreDescription
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)
ParamètreDescription
behaviorThe LoggingBehavior to disable