mirror of
https://github.com/BeneficialCode/WinArk.git
synced 2026-10-17 04:40:35 +08:00
19 lines
396 B
C
19 lines
396 B
C
#pragma once
|
|
|
|
enum class LogLevel {
|
|
Error = 0,
|
|
Warning,
|
|
Information,
|
|
Debug,
|
|
Verbose
|
|
};
|
|
|
|
#ifndef DRIVER_PREFIX
|
|
#define DRIVER_PREFIX "[Log]: " // Prefix to be added to the log lib
|
|
#endif // !DRIVER_PREFIX
|
|
|
|
ULONG Log(LogLevel level, PCSTR format, ...);
|
|
ULONG LogError(PCSTR format, ...);
|
|
ULONG LogInfo(PCSTR format, ...);
|
|
ULONG LogDebug(PCSTR format, ...);
|
|
ULONG LogVerbose(PCSTR format, ...); |