| 75 | { |
| 76 | public: |
| 77 | LogWriter() |
| 78 | : m_hostname(getPool()), |
| 79 | m_filename(getPool(), fb_utils::getPrefix(IConfigManager::DIR_LOG, REPLICATION_LOGFILE)) |
| 80 | { |
| 81 | char host[BUFFER_LARGE]; |
| 82 | ISC_get_host(host, sizeof(host)); |
| 83 | m_hostname = host; |
| 84 | m_error = false; |
| 85 | #ifdef WIN_NT |
| 86 | m_mutex = CreateMutex(ISC_get_security_desc(), FALSE, "firebird_repl_mutex"); |
| 87 | #endif |
| 88 | } |
| 89 | |
| 90 | ~LogWriter() |
| 91 | { |
nothing calls this directly
no test coverage detected