MCPcopy Create free account
hub / github.com/dobin/RedEdr / LOG_A

Function LOG_A

RedEdrPplService/logging.cpp:87–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85
86
87void LOG_A(int verbosity, const char* format, ...)
88{
89 char message[DATA_BUFFER_SIZE] = "[RedEdr PPL] ";
90 size_t offset = strlen(message);
91
92 va_list arg_ptr;
93 va_start(arg_ptr, format);
94 int ret = vsnprintf_s(&message[offset], DATA_BUFFER_SIZE - offset, DATA_BUFFER_SIZE - offset, format, arg_ptr);
95 va_end(arg_ptr);
96
97 WriteToLogFile(message);
98}
99
100
101void LOG_W(int verbosity, const wchar_t* format, ...)

Callers 5

StartEtwtiReaderFunction · 0.70
ShutdownEtwtiReaderFunction · 0.70
event_callbackFunction · 0.70
ServiceControlPipeThreadFunction · 0.70
mainFunction · 0.70

Calls 1

WriteToLogFileFunction · 0.85

Tested by

no test coverage detected