You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
307 B

#ifndef F2B_LOG_H_
#define F2B_LOG_H_
#define LOGLINE_MAX 1024
typedef enum {
log_debug = 0,
log_info = 1,
log_warn = 2,
log_error = 3,
log_fatal = 4
} log_msgtype_t;
void f2b_log_msg(log_msgtype_t l, const char *fmt, ...);
void f2b_log_set_level(const char *level);
#endif /* F2B_LOG_H_ */