picow-http 0.12.1-4-g9d4fd13
HTTP server for the Raspberry Pi PicoW
log.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HTTP_LOG_LVL_NONE   (-1)
 Log level at which all standard logging is disabled. More...
 
#define HTTP_LOG_LVL_ERROR   (0)
 Log level for error messages.
 
#define HTTP_LOG_LVL_WARN   (1)
 Log level for warnings.
 
#define HTTP_LOG_LVL_INFO   (2)
 Log level for informational messages.
 
#define HTTP_LOG_LVL_DEBUG   (3)
 Log level for debugging.
 
#define HTTP_LOG_LVL_VERBOSE   (4)
 Log level at highest verbosity.
 
#define HTTP_LOG_LVL   (HTTP_LOG_LVL_INFO)
 Log level for standard logging. More...
 
#define HTTP_REQUEST_LOG   (1)
 Enable or disable request logging. More...
 
#define HTTP_LOG(LVL, ...)
 Print a log message at a log level. More...
 
#define HTTP_LOG_ERROR(...)   HTTP_LOG(HTTP_LOG_LVL_ERROR, __VA_ARGS__)
 Log an error message. More...
 
#define HTTP_LOG_WARN(...)   HTTP_LOG(HTTP_LOG_LVL_WARN, __VA_ARGS__)
 Log a warning message. More...
 
#define HTTP_LOG_INFO(...)   HTTP_LOG(HTTP_LOG_LVL_INFO, __VA_ARGS__)
 Log an informational message. More...
 
#define HTTP_LOG_DEBUG(...)   HTTP_LOG(HTTP_LOG_LVL_DEBUG, __VA_ARGS__)
 Log a debugging message. More...
 
#define HTTP_LOG_VERBOSE(...)   HTTP_LOG(HTTP_LOG_LVL_VERBOSE, __VA_ARGS__)
 Log a message at the highest verbosity level. More...
 

Functions

static void http_log (const char *fmt,...)
 Print a log message. More...
 

Detailed Description

Logging