Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_LogNrf.h File Reference
#include "nrf_log.h"
Include dependency graph for cs_LogNrf.h:

Go to the source code of this file.

Macros

#define _log(level, addNewLine, fmt, ...)
 Implementation details for the case. More...
 
#define _logArray(level, addNewLine, pointer, size, ...)
 

Macro Definition Documentation

◆ _log

#define _log (   level,
  addNewLine,
  fmt,
  ... 
)
Value:
if (level <= SERIAL_VERBOSITY) { \
NRF_LOG_DEBUG(fmt, ##__VA_ARGS__); \
}
#define SERIAL_VERBOSITY
Definition: cs_SerialTypes.h:32

Implementation details for the case.

        !defined HOST_TARGET && (CS_SERIAL_NRF_LOG_ENABLED > 0)

Only to be directly included in cs_Logger.h.

◆ _logArray

#define _logArray (   level,
  addNewLine,
  pointer,
  size,
  ... 
)
Value:
if (level <= SERIAL_VERBOSITY) { \
NRF_LOG_HEXDUMP_DEBUG(pointer, size); \
}