Log module to realize consistent log messages for ESP SoCs.  
More...
Log module to realize consistent log messages for ESP SoCs. 
- Author
 - Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net 
 
Definition in file log_module.h.
#include <stdio.h>
#include "esp_common_log.h"
 
Go to the source code of this file.
| #define  | log_write(level, ...) | 
|   | 
◆ log_write
      
        
          | #define log_write | 
          ( | 
            | 
          level,  | 
        
        
           | 
           | 
            | 
          ...  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:                do { \
                        LOG_TAG(
LOG_ERROR, E, __func__, ##__VA_ARGS__); \
 
                    } \
                    } \
                        LOG_TAG(
LOG_INFO, D, __func__, ##__VA_ARGS__); \
 
                    } \
                        LOG_TAG(
LOG_DEBUG, E, __func__, ##__VA_ARGS__); \
 
                    } \
                } while (0U)
#define LOG_INFO(...)
for the curious
 
#define LOG_DEBUG(...)
Print a log message, if LOG_LEVEL is defined to be at least LOG_DEBUG
 
#define LOG_ERROR(...)
log an error
 
#define LOG_WARNING(...)
log a warning
 
 
Definition at line 34 of file log_module.h.