From 080b88a018e0cca01d3e89ef264173c332ab4eeb Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 28 Jul 2020 11:50:38 +0200 Subject: Add missing macro for the NO_LOG feature switch, and cut other strings expl. --- libnitrokey/log.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libnitrokey/log.h') diff --git a/libnitrokey/log.h b/libnitrokey/log.h index 278b49c..eade68f 100644 --- a/libnitrokey/log.h +++ b/libnitrokey/log.h @@ -100,6 +100,7 @@ namespace nitrokey { #ifdef NO_LOG #define LOG(string, level) while(false){} #define LOGD(string) while(false){} +#define LOGD1(string) while(false){} #else #define LOG(string, level) nitrokey::log::Log::instance()((string), (level)) #define LOGD1(string) nitrokey::log::Log::instance()((string), (nitrokey::log::Loglevel::DEBUG_L1)) -- cgit v1.2.1