| 26 | } |
| 27 | |
| 28 | void NNoMercyUtils::WriteErrorLogEntry(const std::string & szFunction, uint32_t dwError) |
| 29 | { |
| 30 | char szMessage[1024]; |
| 31 | sprintf(szMessage, xorstr("NoMercy | %s Failed: 0x%08lx").crypt_get(), szFunction.c_str(), dwError); |
| 32 | |
| 33 | WriteEventLogEntry(szMessage, EVENTLOG_ERROR_TYPE); |
| 34 | } |
| 35 | |
| 36 | |
| 37 | void NNoMercyUtils::FileLog(const std::string & szFileName, const std::string & szLogData) |
nothing calls this directly
no test coverage detected