From aafd96cc9b5ffb4b9b8ec9701f2660356ec1b070 Mon Sep 17 00:00:00 2001 From: Tony Tkacik Date: Sun, 24 Mar 2019 11:54:02 +0100 Subject: [PATCH] nux.log: Added support for setting log level with NC_LOG_current Signed-off-by: Tony Tkacik --- inc/nux/log.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/nux/log.inc.sh b/inc/nux/log.inc.sh index f853f4e..d49ef8b 100644 --- a/inc/nux/log.inc.sh +++ b/inc/nux/log.inc.sh @@ -6,7 +6,7 @@ NC_LOG_color_error=$NC_LightRed NC_LOG_color_warning=$NC_Yellow NC_LOG_color_debug=$NC_White -NC_LOG_current=3 +NC_LOG_current=${NC_LOG_current:=3} NC_LOG_id_none=0 NC_LOG_id_error=1