From e0a3556742a81e6cb6e72590b2696ea39e9872ea Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 1 Apr 2012 22:47:55 +0200 Subject: Add log level configuration --- src/fastd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fastd.h') diff --git a/src/fastd.h b/src/fastd.h index 8e63884..e48929d 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -158,7 +158,7 @@ static inline int fastd_rand(fastd_context *ctx, int min, int max) { #define pr_error(ctx, args...) pr_log(ctx, LOG_ERROR, "Error: ", args) #define pr_warn(ctx, args...) pr_log(ctx, LOG_WARN, "Warning: ", args) #define pr_info(ctx, args...) pr_log(ctx, LOG_INFO, "Info: ", args) -#define pr_verbose(ctx, args...) pr_log(ctx, LOG_INFO, "Verbose: ", args) +#define pr_verbose(ctx, args...) pr_log(ctx, LOG_VERBOSE, "Verbose: ", args) #define pr_debug(ctx, args...) pr_log(ctx, LOG_DEBUG, "DEBUG: ", args) #define warn_errno(ctx, message) pr_warn(ctx, "%s: %s", message, strerror(errno)) -- cgit v1.2.3