AnalyticsLogger

public final class AnalyticsLogger<LogProtoT extends Object>


Direct use of AnalyticsLogger is not supported.

Logs DtdiClientLog entries.

Summary

Nested types

The user type associated with the log event.

public static class AnalyticsLogger.Companion

Direct use of AnalyticsLogger.Companion is not supported.

Constants

static final @NonNull String

Direct use of DTDI_LOG_SOURCE is not supported.

Public methods

final void
log(
    @NonNull LogProtoT event,
    @NonNull CorrelationData correlationData,
    ClientInfo clientInfo
)

Log a message to this logger's underlying transport.

final void
logInternal(
    @NonNull LogProtoT event,
    @NonNull CorrelationData correlationData,
    ClientInfo clientInfo
)

Internal function to Log a message to this logger's underlying transport.

Constants

DTDI_LOG_SOURCE

public static final @NonNull String DTDI_LOG_SOURCE

Direct use of DTDI_LOG_SOURCE is not supported.

The log source name for DTDI.

Public methods

log

public final void log(
    @NonNull LogProtoT event,
    @NonNull CorrelationData correlationData,
    ClientInfo clientInfo
)

Log a message to this logger's underlying transport.

logInternal

public final void logInternal(
    @NonNull LogProtoT event,
    @NonNull CorrelationData correlationData,
    ClientInfo clientInfo
)

Internal function to Log a message to this logger's underlying transport.