From 162a45d3aa8ed1fc407d4fc186bab06cb1bbc302 Mon Sep 17 00:00:00 2001 From: Alexander Gottwald Date: Tue, 13 Apr 2004 19:24:39 +0000 Subject: [PATCH] new function winDebug which logs messages with verbosity level 3 --- hw/xwin/winmsg.c | 9 +++++++++ hw/xwin/winmsg.h | 1 + 2 files changed, 10 insertions(+) diff --git a/hw/xwin/winmsg.c b/hw/xwin/winmsg.c index 8f7feb8fb..e9d72b7f6 100644 --- a/hw/xwin/winmsg.c +++ b/hw/xwin/winmsg.c @@ -92,3 +92,12 @@ winErrorFVerb (int verb, const char *format, ...) LogVMessageVerb(X_NONE, verb, format, ap); va_end (ap); } + +void +winDebug (const char *format, ...) +{ + va_list ap; + va_start (ap, format); + LogVMessageVerb(X_NONE, 3, format, ap); + va_end (ap); +} diff --git a/hw/xwin/winmsg.h b/hw/xwin/winmsg.h index 73d331c90..7ceb73858 100644 --- a/hw/xwin/winmsg.h +++ b/hw/xwin/winmsg.h @@ -41,6 +41,7 @@ void winDrvMsgVerb (int scrnIndex, void winDrvMsg (int scrnIndex, MessageType type, const char *format, ...); void winMsgVerb (MessageType type, int verb, const char *format, ...); void winMsg (MessageType type, const char *format, ...); +void winDebug (const char *format, ...); void winErrorFVerb (int verb, const char *format, ...);