aboutsummaryrefslogtreecommitdiff
path: root/include/log.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-12-08 10:43:37 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-02-28 19:23:17 +0100
commit9aa7bb5c6783d28d7d4ffe667fdfbc7400615587 (patch)
tree01311ee3ea93b4623493aebfbaf075754e075c7d /include/log.h
parent9300a50676c2dfabe7e63797c610b2d48d0065cf (diff)
downloadlibnitrokey-9aa7bb5c6783d28d7d4ffe667fdfbc7400615587.tar.gz
libnitrokey-9aa7bb5c6783d28d7d4ffe667fdfbc7400615587.tar.bz2
Add LOGD1 macro
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/log.h')
-rw-r--r--include/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/log.h b/include/log.h
index 52a6e16..89eda56 100644
--- a/include/log.h
+++ b/include/log.h
@@ -98,6 +98,7 @@ namespace nitrokey {
#define LOGD(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))
#define LOGD(string) nitrokey::log::Log::instance()((string), (nitrokey::log::Loglevel::DEBUG_L2))
#endif