Loading...
Searching...
No Matches
log.h File Reference

System logging header for mynewt-core. More...

Detailed Description

System logging header for mynewt-core.

Author
Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.fr

Definition in file log.h.

#include "log.h"
+ Include dependency graph for log.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  log
 Empty log structure. More...
 

Logging convenience defines wrappers

#define LOG_WARN(...)   LOG(LOG_WARNING, __VA_ARGS__)
 
#define LOG_CRITICAL(...)   LOG(LOG_ERROR, __VA_ARGS__)
 
#define log_register(__X, __Y, __Z, __A, __B)   {}
 

Macro Definition Documentation

◆ LOG_CRITICAL

#define LOG_CRITICAL (   ...)    LOG(LOG_ERROR, __VA_ARGS__)

Definition at line 34 of file log.h.

◆ log_register

#define log_register (   __X,
  __Y,
  __Z,
  __A,
  __B 
)    {}

Definition at line 35 of file log.h.

◆ LOG_WARN

#define LOG_WARN (   ...)    LOG(LOG_WARNING, __VA_ARGS__)

Definition at line 33 of file log.h.