summaryrefslogtreecommitdiff
path: root/src/lib/log.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-12-06 21:40:56 +0000
committerCarl Hetherington <cth@carlh.net>2012-12-06 21:40:56 +0000
commitb4ec9ce787c63b27c96c404b1bd44eccd56ab16e (patch)
tree8a8b203ef1a8483961ed8a043b555bffdfa8314c /src/lib/log.h
parent1e0f726e313638f7748e72545d0038cfcffde229 (diff)
More logging tweaks; allow log level to be specified on the command line; bump libdcp version.
Diffstat (limited to 'src/lib/log.h')
-rw-r--r--src/lib/log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/log.h b/src/lib/log.h
index c5241ebcf..3a2cfcbfd 100644
--- a/src/lib/log.h
+++ b/src/lib/log.h
@@ -37,16 +37,16 @@ public:
virtual ~Log () {}
enum Level {
- SILENT = 0,
+ STANDARD = 0,
VERBOSE = 1,
- DEBUG = 2,
- TIMING = 3
+ TIMING = 2
};
void log (std::string m, Level l = STANDARD);
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 */