sdk
sdk
/
com.sygic.sdk.diagnostics
/
LogConnector
Log
Connector
abstract
class
LogConnector
Types
Constructors
Functions
Constructors
Log
Connector
Link copied to clipboard
fun
LogConnector
(
)
Types
Log
Level
Link copied to clipboard
enum
LogLevel
:
Enum
<
LogConnector.LogLevel
>
Functions
connect
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY
]
)
fun
connect
(
)
disconnect
Link copied to clipboard
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY
]
)
fun
disconnect
(
)
log
Link copied to clipboard
fun
log
(
logLevel
:
LogConnector.LogLevel
,
message
:
String
)
on
Log
Received
Link copied to clipboard
open
fun
onLogReceived
(
message
:
String
,
logLevel
:
LogConnector.LogLevel
)
Callback method to receive log messages from SDK
Note:
Don't call super on this method.
send
Telemetry
Log
Link copied to clipboard
fun
sendTelemetryLog
(
telemetryAppenderName
:
String
)