This file contains the type definitions and helper macros for the Enet Trace interface.
Go to the source code of this file.
Macros | |
#define | ENET_CFG_TRACE_LEVEL_NONE (0U) |
All traces disabled at build-time. More... | |
#define | ENET_CFG_TRACE_LEVEL_ERROR (1U) |
Build-time error level. More... | |
#define | ENET_CFG_TRACE_LEVEL_WARN (2U) |
Build-time warning level. More... | |
#define | ENET_CFG_TRACE_LEVEL_INFO (3U) |
Build-time information level. More... | |
#define | ENET_CFG_TRACE_LEVEL_DEBUG (4U) |
Build-time debug level. More... | |
#define | ENET_CFG_TRACE_LEVEL_VERBOSE (5U) |
Build-time verbose level. More... | |
#define | ENET_CFG_TRACE_LEVEL (ENET_CFG_TRACE_LEVEL_INFO) |
Default trace level if none is set. More... | |
#define | ENET_CFG_TRACE_FORMAT_FUNC (0U) |
Trace prefix: "<func>: string". More... | |
#define | ENET_CFG_TRACE_FORMAT_FILE (1U) |
Trace prefix: "<func>: <line>: string". More... | |
#define | ENET_CFG_TRACE_FORMAT_FULL (2U) |
Trace prefix: "<file>: <line>: <func>: <line>: string". More... | |
#define | ENET_CFG_TRACE_TRACE_FORMAT (ENET_CFG_TRACE_FORMAT_FUNC) |
Default trace format if none is specified. More... | |
Enumerations | |
enum | EnetTrace_TraceLevel { ENET_TRACE_NONE = 0U, ENET_TRACE_ERROR = 1U, ENET_TRACE_WARN = 2U, ENET_TRACE_INFO = 3U, ENET_TRACE_DEBUG = 4U, ENET_TRACE_VERBOSE = 5U } |
Enumerates the types of trace level. More... | |