forked from exotikcheat/Kernel_VADInjector
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathLogs.h
More file actions
28 lines (24 loc) · 636 Bytes
/
Copy pathLogs.h
File metadata and controls
28 lines (24 loc) · 636 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
#include <ntifs.h>
namespace Log {
inline void Debug(char* Message, ...) {
va_list args;
__va_start(&args, Message);
vDbgPrintExWithPrefix("[DBG] ", 0, 0, Message, args);
}
inline void Success(char* Message, ...) {
va_list args;
__va_start(&args, Message);
vDbgPrintExWithPrefix("[+] ", 0, 0, Message, args);
}
inline void Error(char* Message, ...) {
va_list args;
__va_start(&args, Message);
vDbgPrintExWithPrefix("[ERR] ", 0, 0, Message, args);
}
inline void Info(char* Message, ...) {
va_list args;
__va_start(&args, Message);
vDbgPrintExWithPrefix("[*] ", 0, 0, Message, args);
}
};