|
boolean | logEvent (Level level, long time, String source, String message) |
|
void | log (Level level, String tag, String message) |
|
Logger should be extended handle log events from the AAC SDK.
◆ logEvent()
boolean com.amazon.aace.logger.Logger.logEvent |
( |
Level |
level, |
|
|
long |
time, |
|
|
String |
source, |
|
|
String |
message |
|
) |
| |
Notifies the platform implementation of a log event from the AAC SDK logger
- Parameters
-
level | The log level |
time | The timestamp of the logged message |
source | The source of the log message |
message | The log message |
- Returns
true
if the platform implementation successfully handled the log event, else false
◆ log()
void com.amazon.aace.logger.Logger.log |
( |
Level |
level, |
|
|
String |
tag, |
|
|
String |
message |
|
) |
| |
Notifies the Engine to use the AAC SDK logger to log a message originating on the platform. The log event will be received by the platform with a call to logEvent()
from the Engine.
- Parameters
-
level | The log level |
tag | The log tag |
message | The log message |
Alexa Auto SDK 2.0.0 - Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0