Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
logging.c File Reference
#include <ctype.h>
#include <inttypes.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include <time.h>
#include "openthread/platform/logging.h"
#include "openthread/platform/toolchain.h"
#include "code_utils.h"
#include "openthread-core-config.h"
Include dependency graph for logging.c:

Macros

#define LOG_PRINTF(...)
 

Functions

OT_TOOL_WEAK void otPlatLog (otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat,...)
 

Macro Definition Documentation

◆ LOG_PRINTF

#define LOG_PRINTF (   ...)
Value:
charsWritten = snprintf(&logString[offset], sizeof(logString) - offset, __VA_ARGS__); \
otEXPECT_ACTION(charsWritten >= 0, logString[offset] = 0); \
offset += (unsigned int)charsWritten; \
otEXPECT_ACTION(offset < sizeof(logString), logString[sizeof(logString) - 1] = 0)
int
Definition: check_headers.py:126

Function Documentation

◆ otPlatLog()

OT_TOOL_WEAK void otPlatLog ( otLogLevel  aLogLevel,
otLogRegion  aLogRegion,
const char *  aFormat,
  ... 
)