iPXE
Defines
mlx_logging_priv.h File Reference
#include <stdio.h>
#include <compiler.h>

Go to the source code of this file.

Defines

#define MLX_DEBUG_FATAL_ERROR_PRIVATE(...)
#define MLX_DEBUG_ERROR_PRIVATE(id,...)
#define MLX_DEBUG_WARN_PRIVATE(id,...)
#define MLX_DEBUG_INFO1_PRIVATE(id,...)
#define MLX_DEBUG_INFO2_PRIVATE(id,...)
#define MLX_DBG_ERROR_PRIVATE(...)
#define MLX_DBG_WARN_PRIVATE(...)
#define MLX_DBG_INFO1_PRIVATE(...)
#define MLX_DBG_INFO2_PRIVATE(...)
#define MLX_PRINT_PRIVATE(...)   printf(__VA_ARGS__)

Define Documentation

#define MLX_DEBUG_FATAL_ERROR_PRIVATE (   ...)
Value:
do {                            \
                printf("%s: ",__func__);                                                \
                printf(__VA_ARGS__);                    \
        } while ( 0 )

Definition at line 14 of file mlx_logging_priv.h.

#define MLX_DEBUG_ERROR_PRIVATE (   id,
  ... 
)
Value:
do {                            \
                DBGC(id, "%s: ",__func__);                      \
                DBGC(id, __VA_ARGS__);                  \
        } while ( 0 )

Definition at line 19 of file mlx_logging_priv.h.

#define MLX_DEBUG_WARN_PRIVATE (   id,
  ... 
)
Value:
do {                            \
                DBGC(id, "%s: ",__func__);                      \
                DBGC(id, __VA_ARGS__);                  \
        } while ( 0 )

Definition at line 24 of file mlx_logging_priv.h.

#define MLX_DEBUG_INFO1_PRIVATE (   id,
  ... 
)
Value:
do {                            \
                DBGC(id, "%s: ",__func__);                      \
                DBGC(id, __VA_ARGS__);                  \
        } while ( 0 )

Definition at line 29 of file mlx_logging_priv.h.

#define MLX_DEBUG_INFO2_PRIVATE (   id,
  ... 
)
Value:
do {                            \
                DBGC2(id, "%s: ",__func__);                     \
                DBGC2(id, __VA_ARGS__);                 \
        } while ( 0 )

Definition at line 34 of file mlx_logging_priv.h.

#define MLX_DBG_ERROR_PRIVATE (   ...)
Value:
do {                            \
                DBG("%s: ",__func__);                   \
                DBG(__VA_ARGS__);                       \
        } while ( 0 )

Definition at line 39 of file mlx_logging_priv.h.

#define MLX_DBG_WARN_PRIVATE (   ...)
Value:
do {                            \
                DBG("%s: ",__func__);                   \
                DBG(__VA_ARGS__);                       \
        } while ( 0 )

Definition at line 44 of file mlx_logging_priv.h.

#define MLX_DBG_INFO1_PRIVATE (   ...)
Value:
do {                            \
                DBG("%s: ",__func__);                   \
                DBG(__VA_ARGS__);                       \
        } while ( 0 )

Definition at line 49 of file mlx_logging_priv.h.

#define MLX_DBG_INFO2_PRIVATE (   ...)
Value:
do {                            \
                DBG2("%s: ",__func__);                  \
                DBG2(__VA_ARGS__);                      \
        } while ( 0 )

Definition at line 54 of file mlx_logging_priv.h.

#define MLX_PRINT_PRIVATE (   ...)    printf(__VA_ARGS__)

Definition at line 59 of file mlx_logging_priv.h.