mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[SVCHOST]
* Use the DbgPrintEx based SvchostDbgPrint macro. We no longer have traces enabled by default here. svn path=/trunk/; revision=60035
This commit is contained in:
parent
e25b46f43d
commit
eba1490a01
1 changed files with 1 additions and 8 deletions
|
@ -21,7 +21,6 @@
|
|||
//
|
||||
// This prints out a SVCHOST-specific debug print, with the PID/TID
|
||||
//
|
||||
#if _EX_
|
||||
#define SvchostDbgPrint(lev, fmt, ...) \
|
||||
DbgPrintEx(DPFLTR_SVCHOST_ID, \
|
||||
DPFLTR_MASK | lev, \
|
||||
|
@ -29,13 +28,7 @@
|
|||
GetCurrentProcessId(), \
|
||||
GetCurrentThreadId(), \
|
||||
__VA_ARGS__);
|
||||
#else
|
||||
#define SvchostDbgPrint(lev, fmt, ...) \
|
||||
DbgPrint("[SVCHOST] %lx.%lx: " fmt, \
|
||||
GetCurrentProcessId(), \
|
||||
GetCurrentThreadId(), \
|
||||
__VA_ARGS__);
|
||||
#endif
|
||||
|
||||
#define DBG_ERR(fmt, ...) SvchostDbgPrint(1, fmt, __VA_ARGS__)
|
||||
#define DBG_TRACE(fmt, ...) SvchostDbgPrint(4, fmt, __VA_ARGS__)
|
||||
|
||||
|
|
Loading…
Reference in a new issue