aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/logging.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/logging.hh')
-rw-r--r--src/libutil/logging.hh9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh
index 8269e2e1a..89fd98419 100644
--- a/src/libutil/logging.hh
+++ b/src/libutil/logging.hh
@@ -62,11 +62,12 @@ public:
virtual void logEI(const ErrorInfo &ei) = 0;
- void logEI(Verbosity lvl, ErrorInfo ei) {
- ei.level = lvl;
- logEI(ei);
+ void logEI(Verbosity lvl, ErrorInfo ei)
+ {
+ ei.level = lvl;
+ logEI(ei);
}
-
+
virtual void warn(const std::string & msg);
virtual void startActivity(ActivityId act, Verbosity lvl, ActivityType type,