aboutsummaryrefslogtreecommitdiff
path: root/libnitrokey
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2020-07-28 11:50:38 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2020-07-28 11:50:38 +0200
commit080b88a018e0cca01d3e89ef264173c332ab4eeb (patch)
treeb3d1652fea8c1533777fef4ad7091285f312ac18 /libnitrokey
parent89a73d88c9026b6347bea113896d24e419c4370c (diff)
downloadlibnitrokey-080b88a018e0cca01d3e89ef264173c332ab4eeb.tar.gz
libnitrokey-080b88a018e0cca01d3e89ef264173c332ab4eeb.tar.bz2
Add missing macro for the NO_LOG feature switch, and cut other strings expl.
Diffstat (limited to 'libnitrokey')
-rw-r--r--libnitrokey/log.h1
1 files changed, 1 insertions, 0 deletions
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))