----------------------------------------------------------------------------- Change the name of the log file (will start writing a new file) -----------------------------------------------------------------------------
| 299 | // Change the name of the log file (will start writing a new file) |
| 300 | //----------------------------------------------------------------------------- |
| 301 | void Log::SetLogFileName |
| 302 | ( |
| 303 | const string &_filename |
| 304 | ) |
| 305 | { |
| 306 | if( s_instance && s_dologging && s_instance->m_pImpl ) |
| 307 | { |
| 308 | s_instance->m_logMutex->Lock(); |
| 309 | s_instance->m_pImpl->SetLogFileName( _filename ); |
| 310 | s_instance->m_logMutex->Unlock(); |
| 311 | } |
| 312 | } |
| 313 | |
| 314 | //----------------------------------------------------------------------------- |
| 315 | // <Log::Log> |