ParametersBuilder

classParametersBuilder


Helper class used to enable fluent syntax inlogEvent.

Summary

Public constructors

Public functions

Unit
param(key: String, value: Array<Bundle>)

Add parameter namedkey withvalue to the logged event.

Unit
param(key: String, value: Bundle)

Add parameter namedkey withvalue to the logged event.

Unit
param(key: String, value: Double)

Add parameter namedkey withvalue to the logged event.

Unit
param(key: String, value: Long)

Add parameter namedkey withvalue to the logged event.

Unit
param(key: String, value: String)

Add parameter namedkey withvalue to the logged event.

Public constructors

ParametersBuilder

ParametersBuilder()

Public functions

param

fun param(key: String, value: Array<Bundle>): Unit

Add parameter namedkey withvalue to the logged event.

param

fun param(key: String, value: Bundle): Unit

Add parameter namedkey withvalue to the logged event.

param

fun param(key: String, value: Double): Unit

Add parameter namedkey withvalue to the logged event.

param

fun param(key: String, value: Long): Unit

Add parameter namedkey withvalue to the logged event.

param

fun param(key: String, value: String): Unit

Add parameter namedkey withvalue to the logged event.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-21 UTC.