LoggingBehaviorCollection
This class is no longer available in the most recent version of the SDK.
Extends:Object
Package:accountkit
Constructors
LoggingBehaviorCollection()
public LoggingBehaviorCollection()
Instance Methods
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)
ParameterDescription
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)
ParameterDescription
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)
ParameterDescription
behaviorThe LoggingBehavior to disable