| 250 | } |
| 251 | |
| 252 | void |
| 253 | LogObject::rename(char *new_name) |
| 254 | { |
| 255 | // NOTE: this function is intended to be called by the LogObjectManager |
| 256 | // while solving filename conflicts. It DOES NOT modify the signature of |
| 257 | // the LogObject to match the new filename. |
| 258 | // |
| 259 | ats_free(m_alt_filename); |
| 260 | m_alt_filename = ats_strdup(new_name); |
| 261 | m_logFile->change_name(new_name); |
| 262 | } |
| 263 | |
| 264 | void |
| 265 | LogObject::add_filter(LogFilter *filter, bool copy) |
no test coverage detected