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

System logging functions. More...

#include <stdio.h>

Go to the source code of this file.

Macros

#define LOG_DEBUG(tab, ...)
 
#define LOG_INFO(tab, ...)
 
#define LOG_ERROR(tab, ...)
 

Functions

void log_initialize ()
 
void log_message (const char *level, const char *tag, const char *fmt,...)
 

Detailed Description

System logging functions.

Provides implementation of logging to control logging level and where the log goes.

Author
Samuel Fitzsimons (rainbain)
Date
2025 @license MIT (see LICENSE file)

Macro Definition Documentation

◆ LOG_DEBUG

#define LOG_DEBUG ( tab,
... )
Value:
log_message("DEBUG", tab, ##__VA_ARGS__)

◆ LOG_ERROR

#define LOG_ERROR ( tab,
... )
Value:
log_message("ERROR", tab, ##__VA_ARGS__)

◆ LOG_INFO

#define LOG_INFO ( tab,
... )
Value:
log_message("INFO", tab, ##__VA_ARGS__)