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
262 B
17 lines
262 B
5 years ago
|
/* log.h - Application logging functionality. */
|
||
|
|
||
|
#ifndef _LOG_H_
|
||
|
#define _LOG_H_
|
||
|
|
||
|
/* Severity levels used by lprint(). */
|
||
|
typedef enum {
|
||
|
DEBUG,
|
||
|
INFO,
|
||
|
WARN,
|
||
|
ERROR
|
||
|
} log_level_t;
|
||
|
|
||
|
void lprint(log_level_t level, const char *format, ...);
|
||
|
|
||
|
#endif /* _LOG_H_ */
|