diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-22 03:34:59 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-22 03:34:59 +0200 |
commit | 1c8d382fac3101fbaa89950d0a19f65761b08d26 (patch) | |
tree | 8d06536b1c6cdc7dadcd3e8dd5f9d56708dd45ff /src/log.h | |
parent | 0e3407d9aa912ef6e110f3326de17744af9e0ad6 (diff) | |
download | fastd-1c8d382fac3101fbaa89950d0a19f65761b08d26.tar fastd-1c8d382fac3101fbaa89950d0a19f65761b08d26.zip |
Move fastd_loglevel_t to log.h
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -32,7 +32,17 @@ #include <string.h> -#define FASTD_DEFAULT_LOG_LEVEL LL_VERBOSE +typedef enum fastd_loglevel { + LL_UNSPEC = 0, + LL_FATAL, + LL_ERROR, + LL_WARN, + LL_INFO, + LL_VERBOSE, + LL_DEBUG, + LL_DEBUG2, + LL_DEFAULT = LL_VERBOSE, +} fastd_loglevel_t; void fastd_logf(const fastd_loglevel_t level, const char *format, ...); |