summaryrefslogtreecommitdiff
path: root/log.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-10-10 15:54:43 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2017-10-10 18:05:15 +0200
commitcf7110f02f793c791b7227bf1579eaaa81d3fd30 (patch)
treeef57c33ee67c015885402ce9bde62f695541b92e /log.cc
parent84f8f634584e22a557bf50f077fb15967311908d (diff)
downloadlibnitrokey-cf7110f02f793c791b7227bf1579eaaa81d3fd30.tar.gz
libnitrokey-cf7110f02f793c791b7227bf1579eaaa81d3fd30.tar.bz2
Add DEBUG_L1 level and set it as default for Python tests
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'log.cc')
-rw-r--r--log.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/log.cc b/log.cc
index 7d61a0d..c29b85b 100644
--- a/log.cc
+++ b/log.cc
@@ -14,6 +14,8 @@ namespace nitrokey {
std::string LogHandler::loglevel_to_str(Loglevel lvl) {
switch (lvl) {
+ case Loglevel::DEBUG_L1:
+ return std::string("DEBUG_L1");
case Loglevel::DEBUG_L2:
return std::string("DEBUG_L2");
case Loglevel::DEBUG: