Internal header file for the Z-Wave Platform Abstraction Layer logging.

This file contains macros that enable seamless usage of the ZPAL_LOG API. It provides a way to conditionally compile log messages based on the log level and the component from which the log message originates. In addition, it provides special logging macros intentded only for temporary debugging purposes.

  • 2025 Silicon Laboratories Inc.

Macros#

#define
ZPAL_LOG_FILTER_LEVEL (LEVEL)
#define
ZW_LOG_APP_ENABLED 0

The helper macros below are used to determine if logging of a specific component is enabled.

#define
ZW_LOG_HW_ENABLED 0
#define
ZW_LOG_CC_ASSOCIATION_ENABLED 0
#define
ZW_LOG_CC_BATTERY_ENABLED 0
#define
ZW_LOG_CC_BINARY_SWITCH_ENABLED 0
#define
ZW_LOG_CC_CENTRAL_SCENE_ENABLED 0
#define
ZW_LOG_CC_COLOR_SWITCH_ENABLED 0
#define
ZW_LOG_CC_DOOR_LOCK_ENABLED 0
#define
ZW_LOG_CC_FIRMWARE_UPDATE_ENABLED 0
#define
ZW_LOG_CC_INDICATOR_ENABLED 0
#define
ZW_LOG_CC_MULTI_CHANNEL_ENABLED 0
#define
ZW_LOG_CC_MULTILEVEL_SWITCH_ENABLED 0
#define
ZW_LOG_CC_NOTIFICATION_ENABLED 0
#define
ZW_LOG_CC_USER_CODE_ENABLED 0
#define
ZW_LOG_CC_USER_CREDENTIAL_ENABLED 0
#define
ZW_LOG_CC_VERSION_ENABLED 0
#define
ZW_LOG_CC_WAKE_UP_ENABLED 0
#define
ZW_LOG_CC_ZWAVE_PLUS_INFO_ENABLED 0
#define
ZW_LOG_ZAF_ACTUATOR_ENABLED 0
#define
ZW_LOG_ZAF_APP_TIMER_ENABLED 0
#define
ZW_LOG_ZAF_CMD_PUBLISHER_ENABLED 0
#define
ZW_LOG_ZAF_COMMON_ENABLED 0
#define
ZW_LOG_ZAF_EVENT_DISTRIBUTOR_ENABLED 0
#define
ZW_LOG_ZAF_NVM_ENABLED 0
#define
ZW_LOG_ZAF_TRANSPORT_ENABLED 0
#define
ZW_LOG_ZAF_TSE_ENABLED 0
#define
ZPAL_LOG_COMPILE_CONDITIONALLY (COMPONENT, LEVEL, PFORMAT, ...)
#define
ZPAL_LOG_PRINT (PFORMAT, ...)

Logs a temporary error message, intended only for ad-hoc debugging.