*/
-#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.
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 */