| 308 | } |
| 309 | |
| 310 | void LogManager::setVerbosity(unsigned int level) |
| 311 | { |
| 312 | /*-------------------------------------------------*\ |
| 313 | | Check that the new verbosity is valid, otherwise | |
| 314 | | set it within the valid range | |
| 315 | \*-------------------------------------------------*/ |
| 316 | |
| 317 | if(level > LL_TRACE) |
| 318 | { |
| 319 | level = LL_TRACE; |
| 320 | } |
| 321 | |
| 322 | LOG_DEBUG("Verbosity set to %d", level); |
| 323 | |
| 324 | /*-------------------------------------------------*\ |
| 325 | | Set the new verbosity | |
| 326 | \*-------------------------------------------------*/ |
| 327 | verbosity = level; |
| 328 | } |
| 329 | |
| 330 | void LogManager::setPrintSource(bool v) |
| 331 | { |