Tidy up logging a bit. Make it configurable from the GUI.
[dcpomatic.git] / src / lib / scp_dcp_job.cc
index 0b713b0427b15c62cdda2e39455c0a5e3dab1bc3..30bfc3441ae80c72aad9de4d330a4dfd4a76028a 100644 (file)
@@ -37,6 +37,8 @@
 
 #include "i18n.h"
 
+#define LOG_GENERAL_NC(...) _film->log()->microsecond_log (__VA_ARGS__, Log::GENERAL);
+
 using std::string;
 using std::stringstream;
 using std::min;
@@ -119,7 +121,7 @@ SCPDCPJob::json_name () const
 void
 SCPDCPJob::run ()
 {
-       _film->log()->log (N_("SCP DCP job starting"));
+       LOG_GENERAL_NC (N_("SCP DCP job starting"));
        
        SSHSession ss;