37#if UseDbgPrintInsteadOfUsermodeMessageTracking
39# define Logformat, ...) \
40 DbgPrint("[+] Information (%s:%d) | " format "\n", \
45# define LogWarning(format, ...) \
46 DbgPrint("[-] Warning (%s:%d) | " format "\n", \
51# define LogError(format, ...) \
52 DbgPrint("[!] Error (%s:%d) | " format "\n", \
62# define Log(format, ...) \
63 DbgPrint(format, __VA_ARGS__)
71# define LogInfo(format, ...) \
72 LogCallbackPrepareAndSendMessageToQueue(OPERATION_LOG_INFO_MESSAGE, \
73 UseImmediateMessaging, \
74 ShowSystemTimeOnDebugMessages, \
76 "[+] Information (%s:%d) | " format "\n", \
85# define LogInfoPriority(format, ...) \
86 LogCallbackPrepareAndSendMessageToQueue(OPERATION_LOG_INFO_MESSAGE, \
88 ShowSystemTimeOnDebugMessages, \
90 "[+] Information (%s:%d) | " format "\n", \
99# define LogWarning(format, ...) \
100 LogCallbackPrepareAndSendMessageToQueue(OPERATION_LOG_WARNING_MESSAGE, \
101 UseImmediateMessaging, \
102 ShowSystemTimeOnDebugMessages, \
104 "[-] Warning (%s:%d) | " format "\n", \
113# define LogError(format, ...) \
114 LogCallbackPrepareAndSendMessageToQueue(OPERATION_LOG_ERROR_MESSAGE, \
115 UseImmediateMessaging, \
116 ShowSystemTimeOnDebugMessages, \
118 "[!] Error (%s:%d) | " format "\n", \
129# define Log(format, ...) \
130 LogCallbackPrepareAndSendMessageToQueue(OPERATION_LOG_INFO_MESSAGE, \
142# define LogSimpleWithTag(tag, isimmdte, buffer, len) \
143 LogCallbackSendMessageToQueue(tag, \
155#define LogDebugInfo(format, ...) \
157 LogCallbackPrepareAndSendMessageToQueue(OPERATION_LOG_INFO_MESSAGE, \
158 UseImmediateMessaging, \
159 ShowSystemTimeOnDebugMessages, \
161 "[+] Information (%s:%d) | " format "\n", \
enum _LOG_TYPE LOG_TYPE
Types of log messages.
_LOG_TYPE
Types of log messages.
Definition HyperDbgHyperLogIntrinsics.h:22
@ LOG_ERROR
Definition HyperDbgHyperLogIntrinsics.h:25
@ LOG_INFO
Definition HyperDbgHyperLogIntrinsics.h:23
@ LOG_WARNING
Definition HyperDbgHyperLogIntrinsics.h:24