#include <MsqDebug.hpp>
Definition at line 117 of file includeLinks/MsqDebug.hpp.
void print |
( |
const char * |
format, |
|
|
|
... |
|
) |
| const |
Definition at line 102 of file Misc/MsqDebug.cpp.
References MsqDebug::get(), and MsqDebug::get_stream().
109 #if defined(HAVE_VSNPRINTF)
111 va_start( args, format );
112 vsnprintf( buffer,
sizeof(buffer), format, args );
114 #elif defined(HAVE__VSNPRINTF)
116 va_start( args, format );
117 _vsnprintf( buffer,
sizeof(buffer), format, args );
119 #elif defined(HAVE_VSPRINTF)
121 va_start( args, format );
122 vsprintf( buffer, format, args );
125 strncpy( buffer,
sizeof(buffer), format );
126 buffer[
sizeof(buffer)-1] =
'\0';
static bool get(unsigned flag)
Check a debug flag.
static msq_stdio::ostream & get_stream(unsigned flag)
Get the output stream to be used for a given debug flag.
void print |
( |
const char * |
format, |
|
|
|
... |
|
) |
| const |
The documentation for this class was generated from the following files: