Go to the source code of this file.
|
#define | ACSDK_STRINGIFY_INNER(expression) #expression |
|
#define | ACSDK_STRINGIFY(macro) ACSDK_STRINGIFY_INNER(macro) |
|
#define | ACSDK_CONCATENATE_INNER(lhs, rhs) lhs##rhs |
|
#define | ACSDK_CONCATENATE(lhs, rhs) ACSDK_CONCATENATE_INNER(lhs, rhs) |
|
#define | ACSDK_GET_LOGGER_FUNCTION_NAME(type) ACSDK_CONCATENATE(ACSDK_CONCATENATE(get, type), Logger) |
|
#define | ACSDK_LOG_MODULE ConsoleLogger |
|
#define | ACSDK_GET_LOGGER_FUNCTION ACSDK_GET_LOGGER_FUNCTION_NAME(ACSDK_LOG_MODULE) |
|
#define | ACSDK_LOG(level, entry) |
| Common implementation for sending entries to the log. More...
|
|
#define | ACSDK_DEBUG_LOG(level, entry) |
| Common implementation for sending debug entries to the log. More...
|
|
#define | ACSDK_DEBUG9(entry) ACSDK_DEBUG_LOG(alexaClientSDK::avsCommon::utils::logger::Level::DEBUG9, entry) |
|
#define | ACSDK_DEBUG8(entry) ACSDK_DEBUG_LOG(alexaClientSDK::avsCommon::utils::logger::Level::DEBUG8, entry) |
|
#define | ACSDK_DEBUG7(entry) ACSDK_DEBUG_LOG(alexaClientSDK::avsCommon::utils::logger::Level::DEBUG7, entry) |
|
#define | ACSDK_DEBUG6(entry) ACSDK_DEBUG_LOG(alexaClientSDK::avsCommon::utils::logger::Level::DEBUG6, entry) |
|
#define | ACSDK_DEBUG5(entry) ACSDK_DEBUG_LOG(alexaClientSDK::avsCommon::utils::logger::Level::DEBUG5, entry) |
|
#define | ACSDK_DEBUG4(entry) ACSDK_DEBUG_LOG(alexaClientSDK::avsCommon::utils::logger::Level::DEBUG4, entry) |
|
#define | ACSDK_DEBUG3(entry) ACSDK_DEBUG_LOG(alexaClientSDK::avsCommon::utils::logger::Level::DEBUG3, entry) |
|
#define | ACSDK_DEBUG2(entry) ACSDK_DEBUG_LOG(alexaClientSDK::avsCommon::utils::logger::Level::DEBUG2, entry) |
|
#define | ACSDK_DEBUG1(entry) ACSDK_DEBUG_LOG(alexaClientSDK::avsCommon::utils::logger::Level::DEBUG1, entry) |
|
#define | ACSDK_DEBUG0(entry) ACSDK_DEBUG_LOG(alexaClientSDK::avsCommon::utils::logger::Level::DEBUG0, entry) |
|
#define | ACSDK_DEBUG(entry) ACSDK_DEBUG_LOG(alexaClientSDK::avsCommon::utils::logger::Level::DEBUG0, entry) |
|
#define | ACSDK_INFO(entry) ACSDK_LOG(alexaClientSDK::avsCommon::utils::logger::Level::INFO, entry) |
|
#define | ACSDK_WARN(entry) ACSDK_LOG(alexaClientSDK::avsCommon::utils::logger::Level::WARN, entry) |
|
#define | ACSDK_ERROR(entry) ACSDK_LOG(alexaClientSDK::avsCommon::utils::logger::Level::ERROR, entry) |
|
#define | ACSDK_CRITICAL(entry) ACSDK_LOG(alexaClientSDK::avsCommon::utils::logger::Level::CRITICAL, entry) |
|
◆ ACSDK_CONCATENATE
Concatenate two macros in to a token.
- Parameters
-
lhs | The macro to turn in to the left hand part of the token. |
rhs | The macro to turn in to the right hand part of the token. |
◆ ACSDK_CONCATENATE_INNER
#define ACSDK_CONCATENATE_INNER |
( |
|
lhs, |
|
|
|
rhs |
|
) |
| lhs##rhs |
Inner part of ACSDK_CONCATENATE. Concatenate two expressions in to a token.
- Parameters
-
lhs | The expression to turn in to the left hand part of the token. |
rhs | The expression to turn in to the right hand part of the token. |
◆ ACSDK_CRITICAL
Send a CRITICAL severity log line.
- Note
- If
ACSDK_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_DEBUG
Send a log line at the default debug level (DEBUG0).
- Note
- If
ACSDK_DEBUG_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_DEBUG0
Send a DEBUG0 severity log line.
- Note
- If
ACSDK_DEBUG_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_DEBUG1
Send a DEBUG1 severity log line.
- Note
- If
ACSDK_DEBUG_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_DEBUG2
Send a DEBUG2 severity log line.
- Note
- If
ACSDK_DEBUG_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_DEBUG3
Send a DEBUG3 severity log line.
- Note
- If
ACSDK_DEBUG_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_DEBUG4
Send a DEBUG4 severity log line.
- Note
- If
ACSDK_DEBUG_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_DEBUG5
Send a DEBUG5 severity log line.
- Note
- If
ACSDK_DEBUG_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_DEBUG6
Send a DEBUG6 severity log line.
- Note
- If
ACSDK_DEBUG_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_DEBUG7
Send a DEBUG7 severity log line.
- Note
- If
ACSDK_DEBUG_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_DEBUG8
Send a DEBUG8 severity log line.
- Note
- If
ACSDK_DEBUG_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_DEBUG9
Send a DEBUG9 severity log line.
- Note
- If
ACSDK_DEBUG_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_DEBUG_LOG
#define ACSDK_DEBUG_LOG |
( |
|
level, |
|
|
|
entry |
|
) |
| |
Value:do { \
(void)sizeof(level); \
(void)sizeof(entry); \
} while (false)
Common implementation for sending debug entries to the log.
- Note
- If
ACSDK_DEBUG_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | level | The log level to associate with the log line. |
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_ERROR
Send a ERROR severity log line.
- Note
- If
ACSDK_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_GET_LOGGER_FUNCTION
Macro to define the function that ACSDK_<LEVEL> macros will send logs to. In this case ACSDK_LOG_MODULE
was defined and logs will be sent to the Logger
returned by get<ACSDK_LOG_MODULE>Logger()
.
◆ ACSDK_GET_LOGGER_FUNCTION_NAME
Macro for building function name of the form get<type>Logger().
- Parameters
-
type | The type of Logger for which to build a get<type>Logger() function name. |
◆ ACSDK_INFO
Send a INFO severity log line.
- Note
- If
ACSDK_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_LOG
#define ACSDK_LOG |
( |
|
level, |
|
|
|
entry |
|
) |
| |
Value:do { \
(void)sizeof(level); \
(void)sizeof(entry); \
} while (false)
Common implementation for sending entries to the log.
- Note
- If
ACSDK_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | level | The log level to associate with the log line. |
[in] | entry | A constructed LogEntry object with the log message text. |
◆ ACSDK_LOG_MODULE
#define ACSDK_LOG_MODULE ConsoleLogger |
◆ ACSDK_STRINGIFY
Turn a macro in to a string literal.
- Parameters
-
macro | The macro to expand and turn in to a string literal. |
◆ ACSDK_STRINGIFY_INNER
#define ACSDK_STRINGIFY_INNER |
( |
|
expression | ) |
#expression |
Inner part of ACSDK_STRINGIFY. Turns an expression in to a string literal.
- Parameters
-
expression | The expression to turn in to a string literal. |
◆ ACSDK_WARN
Send a WARN severity log line.
- Note
- If
ACSDK_LOG_ENABLED
is set to OFF, then logging is disabled.
- Parameters
-
[in] | entry | A constructed LogEntry object with the log message text. |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0