aboutsummaryrefslogtreecommitdiffstats
path: root/log.h
blob: f53c18ffcf2f7e12ad861484e85eae9fa0c99481 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef SS_LOG_H
#define SS_LOG_H

#define LOG_FILEPATH "./log"

typedef enum {
	LOG_INFO,
	LOG_WARN,
	LOG_ERR,
} log_level;

void log_init(void);

void log_write(log_level level, const char *fmt, ...);

#endif /* SS_LOG_H */