Make a note in the log when XYZ values are clamped by libdcp on XYZ -> RGB conversion.
[dcpomatic.git] / src / lib / log.h
index 300df743b9c7f4f790eafc4e465b45a7a1dfffe7..f83c6a90204ef675c93a89f7b0100f760c7efe01 100644 (file)
@@ -24,6 +24,7 @@
  *  @brief A very simple logging class.
  */
 
+#include <dcp/types.h>
 #include <boost/thread/mutex.hpp>
 #include <boost/filesystem.hpp>
 #include <boost/signals2.hpp>
@@ -41,10 +42,12 @@ public:
        static const int TYPE_GENERAL;
        static const int TYPE_WARNING;
        static const int TYPE_ERROR;
+       static const int TYPE_DEBUG;
        static const int TYPE_TIMING;
 
        void log (std::string message, int type);
        void microsecond_log (std::string message, int type);
+       void dcp_log (dcp::NoteType type, std::string message);
 
        void set_types (int types);