diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-11-01 10:31:00 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-11-01 15:32:52 +0800 |
commit | 089d0a6eb769d531129a7cd1061493a1a24b4bef (patch) | |
tree | 62e6b58e6a9cd9b19ac9f7a8986b9d01cfe5ec70 /ui/ncurses/nc-scr.h | |
parent | 896da834e7126759ef69c33347055c593abedde3 (diff) | |
download | talos-petitboot-089d0a6eb769d531129a7cd1061493a1a24b4bef.tar.gz talos-petitboot-089d0a6eb769d531129a7cd1061493a1a24b4bef.zip |
logging: Clean up debug logs
We have quite a few pb_logs which should be pb_debug. This change moves
developer-specific info to pb_debug.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-scr.h')
-rw-r--r-- | ui/ncurses/nc-scr.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ui/ncurses/nc-scr.h b/ui/ncurses/nc-scr.h index 298aa7d..9f80e65 100644 --- a/ui/ncurses/nc-scr.h +++ b/ui/ncurses/nc-scr.h @@ -34,14 +34,9 @@ # error "Curses header file not found." #endif -#ifdef DEBUG -#define DBG(fmt, args...) pb_log("DBG: " fmt, ## args) +#define DBG(fmt, args...) pb_debug("DBG: " fmt, ## args) #define DBGS(fmt, args...) \ - pb_log("DBG:%s:%d: " fmt, __func__, __LINE__, ## args) -#else -#define DBG(fmt, args...) -#define DBGS(fmt, args...) -#endif + pb_debug("DBG:%s:%d: " fmt, __func__, __LINE__, ## args) enum pb_nc_sig { |