Author: akhaldi Date: Wed Sep 11 18:20:30 2013 New Revision: 60035
URL: http://svn.reactos.org/svn/reactos?rev=60035&view=rev Log: [SVCHOST] * Use the DbgPrintEx based SvchostDbgPrint macro. We no longer have traces enabled by default here.
Modified: trunk/reactos/base/services/svchost/svchost.h
Modified: trunk/reactos/base/services/svchost/svchost.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/svchost/svcho... ============================================================================== --- trunk/reactos/base/services/svchost/svchost.h [iso-8859-1] (original) +++ trunk/reactos/base/services/svchost/svchost.h [iso-8859-1] Wed Sep 11 18:20:30 2013 @@ -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__)