Alexa Auto SDK  2.0.0
Classes | Public Member Functions | List of all members
com.amazon.aace.logger.Logger Class Referenceabstract

Classes

enum  Level
 

Public Member Functions

boolean logEvent (Level level, long time, String source, String message)
 
void log (Level level, String tag, String message)
 

Detailed Description

Logger should be extended handle log events from the AAC SDK.

Member Function Documentation

◆ 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
levelThe log level
timeThe timestamp of the logged message
sourceThe source of the log message
messageThe 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
levelThe log level
tagThe log tag
messageThe 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