MCPcopy Create free account
hub / github.com/Atarity/Lightpack / initLog

Method initLog

Software/hooks/Logger.cpp:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void Logger::initLog(LPCWSTR name, DWORD logLevel) {
21 if (!m_hEventSrc) m_hEventSrc = RegisterEventSourceW(NULL, name);
22 if (!m_reportLogBuf) m_reportLogBuf = (WCHAR*)malloc(REPORT_LOG_BUF_SIZE);
23 m_logLevel = logLevel;
24}
25
26void Logger::setLogLevel(DWORD logLevel) {
27 m_logLevel = logLevel;

Callers 1

DllMainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected