+ switch (type) {
+ case dcp::DCP_PROGRESS:
+ do_log (boost::make_shared<const StringLogEntry> (LogEntry::TYPE_GENERAL, m));
+ break;
+ case dcp::DCP_ERROR:
+ do_log (boost::make_shared<const StringLogEntry> (LogEntry::TYPE_ERROR, m));
+ break;
+ case dcp::DCP_NOTE:
+ do_log (boost::make_shared<const StringLogEntry> (LogEntry::TYPE_WARNING, m));
+ break;
+ }