| 497 | } |
| 498 | |
| 499 | void verbose(const char* msg, ...) const |
| 500 | { |
| 501 | if (m_config->verboseLogging) |
| 502 | { |
| 503 | char buffer[BUFFER_LARGE]; |
| 504 | |
| 505 | va_list ptr; |
| 506 | va_start(ptr, msg); |
| 507 | VSNPRINTF(buffer, sizeof(buffer), msg, ptr); |
| 508 | va_end(ptr); |
| 509 | |
| 510 | logReplicaVerbose(m_config->dbName, buffer); |
| 511 | } |
| 512 | } |
| 513 | |
| 514 | private: |
| 515 | AutoPtr<const Replication::Config> m_config; |
no test coverage detected