PowerBlocks SDK
 
Loading...
Searching...
No Matches
log.h
Go to the documentation of this file.
1
12
13#pragma once
14
15#include <stdio.h>
16
17extern void log_initialize();
18
19extern void log_message(const char* level, const char* tag, const char* fmt, ...);
20
21#define LOG_DEBUG(tab, ...) log_message("DEBUG", tab, ##__VA_ARGS__)
22#define LOG_INFO(tab, ...) log_message("INFO", tab, ##__VA_ARGS__)
23#define LOG_ERROR(tab, ...) log_message("ERROR", tab, ##__VA_ARGS__)