46 #ifndef CA821X_API_INCLUDE_CA821X_LOG_H_
47 #define CA821X_API_INCLUDE_CA821X_LOG_H_
51 #include "ca821x_config.h"
88 va_start(va_args, format);
103 va_start(va_args, format);
118 va_start(va_args, format);
133 va_start(va_args, format);
148 va_start(va_args, format);
ca_loglevel
Cascoda loglevel type.
Definition: ca821x_log.h:59
STATIC void ca_log_crit(const char *format,...)
Print a log message with log level CRIT (Will always be displayed)
Definition: ca821x_log.h:83
STATIC void ca_log_debg(const char *format,...)
Print a log message with log level DEBG (Will be displayed if log level is equal or higher,...
Definition: ca821x_log.h:143
STATIC void ca_log_warn(const char *format,...)
Print a log message with log level WARN (Will be displayed if log level is equal or higher,...
Definition: ca821x_log.h:98
STATIC void ca_log_info(const char *format,...)
Print a log message with log level INFO (Will be displayed if log level is equal or higher,...
Definition: ca821x_log.h:128
STATIC void ca_log_note(const char *format,...)
Print a log message with log level NOTE (Will be displayed if log level is equal or higher,...
Definition: ca821x_log.h:113
void ca_log(ca_loglevel loglevel, const char *format, va_list argp)
Function to process logs depending on platform.
Definition: cascoda_log.c:42
@ CA_LOGLEVEL_INFO
Semi-Regular information that may be more frequent.
Definition: ca821x_log.h:63
@ CA_LOGLEVEL_DEBG
High Frequency debug logs, data dumps, or unimportant information.
Definition: ca821x_log.h:64
@ CA_LOGLEVEL_NOTE
Low-frequency notes that may be of interest.
Definition: ca821x_log.h:62
@ CA_LOGLEVEL_WARN
Warnings that something has gone wrong.
Definition: ca821x_log.h:61
@ CA_LOGLEVEL_CRIT
Critical warnings that should always be displayed.
Definition: ca821x_log.h:60