Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
Declarations of global, platform independent logging functions that can be enabled or disabled. More...
#include <stdarg.h>
#include "ca821x_config.h"
Go to the source code of this file.
Macros | |
#define | CA821X_API_INCLUDE_CA821X_LOG_H_ |
Typedefs | |
typedef enum ca_loglevel | ca_loglevel |
Cascoda loglevel type. More... | |
Enumerations | |
enum | ca_loglevel { CA_LOGLEVEL_CRIT = 1 , CA_LOGLEVEL_WARN = 2 , CA_LOGLEVEL_NOTE = 3 , CA_LOGLEVEL_INFO = 4 , CA_LOGLEVEL_DEBG = 5 } |
Cascoda loglevel type. More... | |
Functions | |
void | ca_log (ca_loglevel loglevel, const char *format, va_list argp) |
Function to process logs depending on platform. More... | |
STATIC void | ca_log_crit (const char *format,...) |
Print a log message with log level CRIT (Will always be displayed) More... | |
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, see ca_loglevel) More... | |
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, see ca_loglevel) More... | |
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, see ca_loglevel) More... | |
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, see ca_loglevel) More... | |
Declarations of global, platform independent logging functions that can be enabled or disabled.