X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Flog.h;h=3ad6516c11b7b56ee270c269967bd3d59177e464;hb=47f25009bcbc765e397bcb471dd361a511c99daf;hp=2e5d69a0828a77d508b3cc1d4c122898204eb027;hpb=3781be4da4601176d7bb954f9cc65621d75e7344;p=dcpomatic.git diff --git a/src/lib/log.h b/src/lib/log.h index 2e5d69a08..3ad6516c1 100644 --- a/src/lib/log.h +++ b/src/lib/log.h @@ -17,8 +17,8 @@ */ -#ifndef DVDOMATIC_LOG_H -#define DVDOMATIC_LOG_H +#ifndef DCPOMATIC_LOG_H +#define DCPOMATIC_LOG_H /** @file src/log.h * @brief A very simple logging class. @@ -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 */