Stay organized with collections
Save and categorize content based on your preferences.
LoggingConfiguration
data class LoggingConfiguration
Direct use of LoggingConfiguration
is not supported.
Class with information on how logging should be handled.
Summary
Public constructors
|
Direct use of LoggingConfiguration is not supported.
|
Properties
|
Int? |
Cookie Bucket used for logging diversion.
|
Boolean |
True if logging is allowed.
|
Boolean |
True if ClientInfo should be logged from all install sources.
|
Public constructors
<init>
LoggingConfiguration(
isLoggingAllowed: Boolean,
logAllClientInfo: Boolean,
cookieBucketId: Int? = null)
Direct use of LoggingConfiguration
is not supported.
Class with information on how logging should be handled.
Properties
cookieBucketId
val cookieBucketId: Int?
Cookie Bucket used for logging diversion.
isLoggingAllowed
val isLoggingAllowed: Boolean
True if logging is allowed.
logAllClientInfo
val logAllClientInfo: Boolean
True if ClientInfo should be logged from all install sources.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eLoggingConfiguration\u003c/code\u003e is a data class that holds information about how logging should be handled, but its direct use is not supported.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties to determine if logging is allowed (\u003ccode\u003eisLoggingAllowed\u003c/code\u003e), if all client info should be logged (\u003ccode\u003elogAllClientInfo\u003c/code\u003e), and a cookie bucket ID for logging diversion (\u003ccode\u003ecookieBucketId\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe constructor allows setting these properties when creating a \u003ccode\u003eLoggingConfiguration\u003c/code\u003e instance.\u003c/p\u003e\n"]]],["`LoggingConfiguration` is a class that determines how logging is handled, but direct use is not supported. It holds information about logging: `isLoggingAllowed` (boolean, logging on/off), `logAllClientInfo` (boolean, log ClientInfo from all sources), and `cookieBucketId` (integer, logging diversion). It can be initialized with these three parameters.\n"],null,["# LoggingConfiguration\n====================\n\n```\ndata class LoggingConfiguration\n```\n\n|---|-----------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [com.google.android.gms.dtdi.analytics.LoggingConfiguration](#) |\n\nDirect use of `LoggingConfiguration` is not supported.\n\nClass with information on how logging should be handled.\n\nSummary\n-------\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [\u003cinit\u003e](#%3Cinit%3E(kotlin.Boolean,%20kotlin.Boolean,%20kotlin.Int))`(`isLoggingAllowed:` `[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`, `logAllClientInfo:` `[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`, `cookieBucketId:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)?` `=` null)` Direct use of `LoggingConfiguration` is not supported. |\n\n| ### Properties ||\n|------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)? | [cookieBucketId](#cookieBucketId:kotlin.Int) Cookie Bucket used for logging diversion. |\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [isLoggingAllowed](#isLoggingAllowed:kotlin.Boolean) True if logging is allowed. |\n| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [logAllClientInfo](#logAllClientInfo:kotlin.Boolean) True if ClientInfo should be logged from all install sources. |\n\nPublic constructors\n-------------------\n\n### \\\u003cinit\\\u003e\n\n```\nLoggingConfiguration(\n isLoggingAllowed: Boolean, \n logAllClientInfo: Boolean, \n cookieBucketId: Int? = null)\n```\n\nDirect use of `LoggingConfiguration` is not supported.\n\nClass with information on how logging should be handled.\n\nProperties\n----------\n\n### cookieBucketId\n\n```\nval cookieBucketId: Int?\n```\n\nCookie Bucket used for logging diversion. \n\n### isLoggingAllowed\n\n```\nval isLoggingAllowed: Boolean\n```\n\nTrue if logging is allowed. \n\n### logAllClientInfo\n\n```\nval logAllClientInfo: Boolean\n```\n\nTrue if ClientInfo should be logged from all install sources."]]