MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / DebugLog

Function DebugLog

rEFIt_UEFI/Platform/BootLog.cpp:168–182  ·  view source on GitHub ↗

Changed MsgLog(...) it now calls this function with DebugMode == 0. - apianti DebugMode==0 Prints to msg log, only output to log on SaveBooterLog DebugMode==1 Prints to msg log and DEBUG_LOG DebugMode==2 Prints to msg log, DEBUG_LOG and display console

Source from the content-addressed store, hash-verified

166// DebugMode==1 Prints to msg log and DEBUG_LOG
167// DebugMode==2 Prints to msg log, DEBUG_LOG and display console
168VOID EFIAPI DebugLog(IN INTN DebugMode, IN CONST CHAR8 *FormatString, ...)
169{
170 VA_LIST Marker;
171 //UINTN offset = 0;
172
173 // Make sure the buffer is intact for writing
174 if (FormatString == NULL || DebugMode < 0) {
175 return;
176 }
177
178 // Print message to log buffer
179 VA_START(Marker, FormatString);
180 MemLogfVA(TRUE, DebugMode, FormatString, Marker);
181 VA_END(Marker);
182}
183
184VOID InitBooterLog(VOID)
185{

Callers 6

PrintBytesRowFunction · 0.70
DbgHeaderFunction · 0.50
RefitMainFunction · 0.50
InputDialogMethod · 0.50
operator newFunction · 0.50
operator new[]Function · 0.50

Calls 1

MemLogfVAFunction · 0.85

Tested by

no test coverage detected