Newer
Older
* @param quiet If true then no message regarding the level change is emitted
*/
void ConfigServiceImpl::setLogLevel(int logLevel, bool quiet) {
Mantid::Kernel::Logger::setLevelForAll(logLevel);
if (!quiet) {
g_log.log("logging set to " + Logger::PriorityNames[logLevel] + " priority",
static_cast<Logger::Priority>(logLevel));
Campbell, Stuart
committed
/// \cond TEMPLATE
template DLLExport boost::optional<double>
ConfigServiceImpl::getValue(const std::string &);
template DLLExport boost::optional<std::string>
ConfigServiceImpl::getValue(const std::string &);
template DLLExport boost::optional<int>
ConfigServiceImpl::getValue(const std::string &);
template DLLExport boost::optional<size_t>
ConfigServiceImpl::getValue(const std::string &);
template DLLExport boost::optional<bool>
ConfigServiceImpl::getValue(const std::string &);
Campbell, Stuart
committed
/// \endcond TEMPLATE
} // namespace Kernel
} // namespace Mantid