aboutsummaryrefslogtreecommitdiff
path: root/inc/log.h
blob: ae55c178883ccd9abda7906c691fe88e83c8e003 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#ifndef LOG_H
#define LOG_H

void __logln(const char *func, const char *format, ...);
void __errln(const char *func, const char *format, ...);

#define logln(format, ...) __logln(__func__, format, ##__VA_ARGS__)
#define errln(format, ...) __errln(__func__, format, ##__VA_ARGS__)

#endif