Loading...
Searching...
No Matches
Macros
as_log_macros.h File Reference
#include <aerospike/as_log.h>
+ Include dependency graph for as_log_macros.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define as_log_debug(__fmt, ...)
 
#define as_log_debug_enabled()   (g_as_log.callback && AS_LOG_LEVEL_DEBUG <= g_as_log.level)
 
#define as_log_error(__fmt, ...)
 
#define as_log_error_enabled()   (g_as_log.callback && AS_LOG_LEVEL_ERROR <= g_as_log.level)
 
#define as_log_info(__fmt, ...)
 
#define as_log_info_enabled()   (g_as_log.callback && AS_LOG_LEVEL_INFO <= g_as_log.level)
 
#define as_log_trace(__fmt, ...)
 
#define as_log_trace_enabled()   (g_as_log.callback && AS_LOG_LEVEL_TRACE <= g_as_log.level)
 
#define as_log_warn(__fmt, ...)
 
#define as_log_warn_enabled()   (g_as_log.callback && AS_LOG_LEVEL_WARN <= g_as_log.level)
 

Macro Definition Documentation

◆ as_log_debug

#define as_log_debug ( __fmt,
... )
Value:
(g_as_log.callback) (AS_LOG_LEVEL_DEBUG, __func__, __FILE__, __LINE__, __fmt, ##__VA_ARGS__);\
}
AS_EXTERN as_log g_as_log
@ AS_LOG_LEVEL_DEBUG
Definition as_log.h:37
as_log_callback callback
Definition as_log.h:137
as_log_level level
Definition as_log.h:127

Definition at line 50 of file as_log_macros.h.

◆ as_log_debug_enabled

#define as_log_debug_enabled ( )    (g_as_log.callback && AS_LOG_LEVEL_DEBUG <= g_as_log.level)

Definition at line 32 of file as_log_macros.h.

◆ as_log_error

#define as_log_error ( __fmt,
... )
Value:
(g_as_log.callback) (AS_LOG_LEVEL_ERROR, __func__, __FILE__, __LINE__, __fmt, ##__VA_ARGS__);\
}
@ AS_LOG_LEVEL_ERROR
Definition as_log.h:34

Definition at line 35 of file as_log_macros.h.

◆ as_log_error_enabled

#define as_log_error_enabled ( )    (g_as_log.callback && AS_LOG_LEVEL_ERROR <= g_as_log.level)

Definition at line 29 of file as_log_macros.h.

◆ as_log_info

#define as_log_info ( __fmt,
... )
Value:
(g_as_log.callback) (AS_LOG_LEVEL_INFO, __func__, __FILE__, __LINE__, __fmt, ##__VA_ARGS__);\
}
@ AS_LOG_LEVEL_INFO
Definition as_log.h:36

Definition at line 45 of file as_log_macros.h.

◆ as_log_info_enabled

#define as_log_info_enabled ( )    (g_as_log.callback && AS_LOG_LEVEL_INFO <= g_as_log.level)

Definition at line 31 of file as_log_macros.h.

◆ as_log_trace

#define as_log_trace ( __fmt,
... )
Value:
(g_as_log.callback) (AS_LOG_LEVEL_TRACE, __func__, __FILE__, __LINE__, __fmt, ##__VA_ARGS__);\
}
@ AS_LOG_LEVEL_TRACE
Definition as_log.h:38

Definition at line 55 of file as_log_macros.h.

◆ as_log_trace_enabled

#define as_log_trace_enabled ( )    (g_as_log.callback && AS_LOG_LEVEL_TRACE <= g_as_log.level)

Definition at line 33 of file as_log_macros.h.

◆ as_log_warn

#define as_log_warn ( __fmt,
... )
Value:
(g_as_log.callback) (AS_LOG_LEVEL_WARN, __func__, __FILE__, __LINE__, __fmt, ##__VA_ARGS__);\
}
@ AS_LOG_LEVEL_WARN
Definition as_log.h:35

Definition at line 40 of file as_log_macros.h.

◆ as_log_warn_enabled

#define as_log_warn_enabled ( )    (g_as_log.callback && AS_LOG_LEVEL_WARN <= g_as_log.level)

Definition at line 30 of file as_log_macros.h.