diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-04-24 12:44:23 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-04-24 12:44:23 -0600 |
commit | d9632765a81604d270bf4693bddd53c22ee189d4 (patch) | |
tree | 1d769acd5a44bad6ee7343ec8485f60a365968bd /src/libutil/logging.hh | |
parent | 833501f6f11095ae226c13948eb3dc1de2a246ea (diff) |
add has_value check; remove obslete friend class
Diffstat (limited to 'src/libutil/logging.hh')
-rw-r--r-- | src/libutil/logging.hh | 9 |
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, |