mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
7c0aa811ec
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
31 lines
649 B
C
31 lines
649 B
C
/** @file
|
|
|
|
Central logging module.
|
|
Dispatches logs to defined loggers.
|
|
Loggers can be enabled/disabled by PRINT_TO_* definitions in Common.h.
|
|
|
|
By dmazar, 26/09/2012
|
|
|
|
**/
|
|
|
|
#ifndef __DMP_LOG_H__
|
|
#define __DMP_LOG_H__
|
|
|
|
|
|
/** Buffer for one log line. */
|
|
extern CHAR8 *gLogLineBuffer;
|
|
|
|
/** Prints log messages to outputs defined by PRINT_TO_* defs in Common.h. */
|
|
VOID
|
|
EFIAPI
|
|
LogPrint(CHAR8 *Format, ...);
|
|
|
|
/** Called when ExitBootServices() is executed to give loggers a chance
|
|
* to use boot services (to save log to file for example).
|
|
*/
|
|
VOID
|
|
LogOnExitBootServices(VOID);
|
|
|
|
|
|
#endif // __DMP_LOG_H__
|