ParametersBuilder

public final class ParametersBuilder


Helper class used to enable fluent syntax in logEvent.

Summary

Public constructors

Public methods

final void
param(@NonNull String key, @NonNull Bundle[] value)

Add parameter named key with value to the logged event.

final void
param(@NonNull String key, @NonNull Bundle value)

Add parameter named key with value to the logged event.

final void
param(@NonNull String key, double value)

Add parameter named key with value to the logged event.

final void
param(@NonNull String key, long value)

Add parameter named key with value to the logged event.

final void
param(@NonNull String key, @NonNull String value)

Add parameter named key with value to the logged event.

Public constructors

ParametersBuilder

public ParametersBuilder()

Public methods

param

public final void param(@NonNull String key, @NonNull Bundle[] value)

Add parameter named key with value to the logged event.

param

public final void param(@NonNull String key, @NonNull Bundle value)

Add parameter named key with value to the logged event.

param

public final void param(@NonNull String key, double value)

Add parameter named key with value to the logged event.

param

public final void param(@NonNull String key, long value)

Add parameter named key with value to the logged event.

param

public final void param(@NonNull String key, @NonNull String value)

Add parameter named key with value to the logged event.