X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Flog.h;h=3a2cfcbfd53e7882a61feaa03268738036a60b1f;hb=ba0a895137b630f5d308b123ef886d68090f855d;hp=2e5d69a0828a77d508b3cc1d4c122898204eb027;hpb=e1e7827d75df6ea11b6bfd2aabd3eb3fb1f2e701;p=dcpomatic.git diff --git a/src/lib/log.h b/src/lib/log.h index 2e5d69a08..3a2cfcbfd 100644 --- a/src/lib/log.h +++ b/src/lib/log.h @@ -34,6 +34,7 @@ class Log { public: Log (); + virtual ~Log () {} enum Level { STANDARD = 0, @@ -45,6 +46,7 @@ public: void microsecond_log (std::string m, Level l = STANDARD); void set_level (Level l); + void set_level (std::string l); protected: /** mutex to protect the log */