summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRALOVICH, Kristof <tade60@freemail.hu>2014-01-19 13:05:33 +0100
committerRALOVICH, Kristof <tade60@freemail.hu>2014-01-19 13:05:33 +0100
commit73d28d42592666657d8a9b0d2279c042c00f0eb8 (patch)
treefb23692257d9fd8c4e30e5decfabdd0f066fd2f5 /src
parent71670d8861d363b6b64f03346309745f3c1a62b9 (diff)
Log: make sure current log level threshold is logged
Diffstat (limited to 'src')
-rw-r--r--src/Log.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Log.hpp b/src/Log.hpp
index 6ac3b29..066b758 100644
--- a/src/Log.hpp
+++ b/src/Log.hpp
@@ -200,6 +200,7 @@ namespace antpm
this->lprintf2(LOG_INF,
"%s\n",
v.c_str());
+ this->lprintf2(LOG_RAW, "logging level: %d\n", this->_logReportingLevel);
}
}
@@ -285,6 +286,7 @@ namespace antpm
Log::setLogReportingLevel(const LogLevel& logReportingLevel)
{
_logReportingLevel = logReportingLevel;
+ this->lprintf2(LOG_RAW, "logging level: %d\n", this->_logReportingLevel);
}
int