projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Logging improvements to allow prettier displays in the server GUI.
[dcpomatic.git]
/
src
/
lib
/
job.cc
diff --git
a/src/lib/job.cc
b/src/lib/job.cc
index 42d6160c773b4f744fcabaa8576063093795041c..35f5834080af4ab9de1f876a52656961631532c9 100644
(file)
--- a/
src/lib/job.cc
+++ b/
src/lib/job.cc
@@
-42,7
+42,7
@@
using boost::shared_ptr;
using boost::optional;
using boost::function;
using boost::optional;
using boost::function;
-#define LOG_ERROR_NC(...) _film->log()->log (__VA_ARGS__, Log::TYPE_ERROR);
+#define LOG_ERROR_NC(...) _film->log()->log (__VA_ARGS__, Log
Entry
::TYPE_ERROR);
/** @param film Associated film, or 0 */
Job::Job (shared_ptr<const Film> film)
/** @param film Associated film, or 0 */
Job::Job (shared_ptr<const Film> film)
@@
-325,7
+325,7
@@
Job::set_error (string s, string d)
if (_film) {
LOG_ERROR_NC (s);
LOG_ERROR_NC (d);
if (_film) {
LOG_ERROR_NC (s);
LOG_ERROR_NC (d);
- _film->log()->log (String::compose ("Error in job: %1 (%2)", s, d), Log::TYPE_ERROR);
+ _film->log()->log (String::compose ("Error in job: %1 (%2)", s, d), Log
Entry
::TYPE_ERROR);
}
boost::mutex::scoped_lock lm (_state_mutex);
}
boost::mutex::scoped_lock lm (_state_mutex);