A simple 256-color palette viewer.
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.
|
/* 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_ */
|
|
|