Stay organized with collections
Save and categorize content based on your preferences.
LoggerTransport
interface
LoggerTransport
Direct use of LoggerTransport
is not supported.
Performs the actual logging of events to a logging backend.
Summary
Sends an event to the transport.
Public methods
send
abstract
fun
send
(
log
:
ByteArray
)
:
Unit
Sends an event to the transport. The exact behavior is transport dependent.
A serialized DtdiClientLog
proto to be logged.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eLoggerTransport\u003c/code\u003e interface facilitates logging events to a designated backend but is not intended for direct use.\u003c/p\u003e\n"],["\u003cp\u003eThe primary function, \u003ccode\u003esend()\u003c/code\u003e, transmits a serialized \u003ccode\u003eDtdiClientLog\u003c/code\u003e (in \u003ccode\u003eByteArray\u003c/code\u003e format) to the logging transport for processing.\u003c/p\u003e\n"],["\u003cp\u003eThe specific implementation of event logging is determined by the chosen transport mechanism.\u003c/p\u003e\n"]]],[],null,["# LoggerTransport\n===============\n\n```\ninterface LoggerTransport\n```\n\n|------------------------------------------------------------|\n| [com.google.android.gms.dtdi.analytics.LoggerTransport](#) |\n\nDirect use of `LoggerTransport` is not supported.\n\nPerforms the actual logging of events to a logging backend.\n\nSummary\n-------\n\n| ### Public methods ||\n|---------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [send](#send(kotlin.ByteArray))`(`log:` `[ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html)`)` Sends an event to the transport. |\n\nPublic methods\n--------------\n\n### send\n\n```\nabstract fun send(log: ByteArray): Unit\n```\n\nSends an event to the transport. The exact behavior is transport dependent.\n\n| Parameters ||\n|----------------------------------------------------------------------------------------------|--------------------------------------------------|\n| log: [ByteArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html) | A serialized `DtdiClientLog` proto to be logged. |"]]