| 208 | } |
| 209 | |
| 210 | void ProgressLogger::setLogType(LogType type) const |
| 211 | { |
| 212 | type_ = type; |
| 213 | // remove the old logger |
| 214 | delete current_logger_; |
| 215 | |
| 216 | current_logger_ = Factory<ProgressLogger::ProgressLoggerImpl>::create(logTypeToFactoryName_(type_)); |
| 217 | } |
| 218 | |
| 219 | ProgressLogger::LogType ProgressLogger::getLogType() const |
| 220 | { |