aboutsummaryrefslogtreecommitdiff
path: root/include/log.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-05-13 15:47:40 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2017-05-13 15:47:40 +0200
commit3b5f40a19ca6c6fde55fcdab4ff0a9f91a46a051 (patch)
treec8343c0e1d504b2ae7d1ff5a727084f78a015f7e /include/log.h
parent1634bddb91323753546e6fe475d70d41dd79faee (diff)
downloadlibnitrokey-3b5f40a19ca6c6fde55fcdab4ff0a9f91a46a051.tar.gz
libnitrokey-3b5f40a19ca6c6fde55fcdab4ff0a9f91a46a051.tar.bz2
Fix typo in logging macro
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/log.h')
-rw-r--r--include/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/log.h b/include/log.h
index e559845..80e5097 100644
--- a/include/log.h
+++ b/include/log.h
@@ -73,7 +73,7 @@ namespace nitrokey {
#ifdef NO_LOG
#define LOG(string, level) while(false){}
-#define LOGD(string, level) while(false){}
+#define LOGD(string) while(false){}
#else
#define LOG(string, level) nitrokey::log::Log::instance()((string), (level))
#define LOGD(string) nitrokey::log::Log::instance()((string), (nitrokey::log::Loglevel::DEBUG_L2))