diff options
author | marha <marha@users.sourceforge.net> | 2010-02-15 12:13:20 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-02-15 12:13:20 +0000 |
commit | 058f810182082292d8632e1f0ad4ffd21adc50fa (patch) | |
tree | a707aab8ed502b94fb93014aca9098dff0bb022c /xorg-server/hw | |
parent | b40e949511ca8c00cd7d13c622b5247145d44ab3 (diff) | |
download | vcxsrv-058f810182082292d8632e1f0ad4ffd21adc50fa.tar.gz vcxsrv-058f810182082292d8632e1f0ad4ffd21adc50fa.tar.bz2 vcxsrv-058f810182082292d8632e1f0ad4ffd21adc50fa.zip |
Put xserver traces at log level 4
Diffstat (limited to 'xorg-server/hw')
-rw-r--r-- | xorg-server/hw/xwin/winmsg.c | 9 | ||||
-rw-r--r-- | xorg-server/hw/xwin/winmsg.h | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/winmsg.c b/xorg-server/hw/xwin/winmsg.c index a77fde299..e3d68915f 100644 --- a/xorg-server/hw/xwin/winmsg.c +++ b/xorg-server/hw/xwin/winmsg.c @@ -47,6 +47,15 @@ winDebug (const char *format, ...) LogVMessageVerb(X_NONE, 3, format, ap); va_end (ap); } + +void +winDebug4 (const char *format, ...) +{ + va_list ap; + va_start (ap, format); + LogVMessageVerb(X_NONE, 4, format, ap); + va_end (ap); +} #endif void diff --git a/xorg-server/hw/xwin/winmsg.h b/xorg-server/hw/xwin/winmsg.h index ecee86994..beb6683ed 100644 --- a/xorg-server/hw/xwin/winmsg.h +++ b/xorg-server/hw/xwin/winmsg.h @@ -39,9 +39,11 @@ #if !defined(_MSC_VER) || defined(_DEBUG) #define WINDBG void winDebug (const char *format, ...); +void winDebug4 (const char *format, ...); void winDebugWin32Message(const char* function, HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); #else #define winDebug(...) +#define winDebug4(...) #define winDebugWin32Message(...) #endif |