MCPcopy Create free account
hub / github.com/NoMercy-ac/NoMercy / WriteErrorLogEntry

Method WriteErrorLogEntry

Source/Client/NM_Service/Utils.cpp:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void 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
37void NNoMercyUtils::FileLog(const std::string & szFileName, const std::string & szLogData)

Callers

nothing calls this directly

Calls 1

WriteEventLogEntryFunction · 0.85

Tested by

no test coverage detected