diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/log.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/log.h b/include/log.h index 47a83321..3d77769c 100644 --- a/include/log.h +++ b/include/log.h @@ -10,10 +10,10 @@ typedef enum { L_DEBUG = 3, } log_importance_t; -void init_log(int verbosity); +void init_log(log_importance_t verbosity); void sway_log_colors(int mode); -void sway_log(int verbosity, const char* format, ...) __attribute__((format(printf,2,3))); -void sway_log_errno(int verbosity, char* format, ...) __attribute__((format(printf,2,3))); +void sway_log(log_importance_t verbosity, const char* format, ...) __attribute__((format(printf,2,3))); +void sway_log_errno(log_importance_t verbosity, char* format, ...) __attribute__((format(printf,2,3))); void sway_abort(const char* format, ...) __attribute__((format(printf,1,2))); bool sway_assert(bool condition, const char* format, ...) __attribute__((format(printf,2,3))); |