![]() |
#include <aerospike/as_status.h>
#include <citrusleaf/cf_atomic.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Data Structures | |
struct | as_log |
Typedefs | |
typedef bool(* | as_log_callback )(as_log_level level, const char *func, const char *file, uint32_t line, const char *fmt,...) |
Enumerations | |
enum | as_log_level { AS_LOG_LEVEL_OFF = -1, AS_LOG_LEVEL_ERROR = 0, AS_LOG_LEVEL_WARN = 1, AS_LOG_LEVEL_INFO = 2, AS_LOG_LEVEL_DEBUG = 3, AS_LOG_LEVEL_TRACE = 4, AS_LOG_LEVEL_OFF = -1, AS_LOG_LEVEL_ERROR = 0, AS_LOG_LEVEL_WARN = 1, AS_LOG_LEVEL_INFO = 2, AS_LOG_LEVEL_DEBUG = 3, AS_LOG_LEVEL_TRACE = 4 } |
typedef bool(* as_log_callback)(as_log_level level, const char *func, const char *file, uint32_t line, const char *fmt,...) |
Callback function for as_log related logging calls.
The following is a simple log callback:
The function should return true on success.
level | The log level of the message. |
func | The function where the message was logged. |
file | The file where the message was logged. |
line | The line where the message was logged. |
fmt | The format string used. |
... | The format argument. |
Definition at line 89 of file src/include/aerospike/as_log.h.
enum as_log_level |
Log Level
Definition at line 43 of file src/include/aerospike/as_log.h.