Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
doxygen-1.8.11
addon
doxmlparser
src
debug.cpp
Go to the documentation of this file.
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <stdarg.h>
4
5
#include "
debug.h
"
6
7
static
int
s_debugLevel
= 0;
8
9
void
debug
(
int
level
,
const
char
*
msg
,...)
10
{
11
if
(level<=
s_debugLevel
)
12
{
13
va_list
args
;
14
va_start(args, msg);
15
vfprintf(
stderr
, msg, args);
16
va_end(args);
17
}
18
}
19
20
void
setDebugLevel
(
int
level
)
21
{
22
s_debugLevel
=
level
;
23
}
24
debug.h
setDebugLevel
void setDebugLevel(int level)
Definition:
debug.cpp:20
msg
void msg(const char *fmt,...)
Definition:
message.cpp:107
args
static QCString args
Definition:
declinfo.cpp:674
generate_datataset.level
level
Definition:
generate_datataset.py:30
plot_model.stderr
stderr
Definition:
plot_model.py:26
s_debugLevel
static int s_debugLevel
Definition:
debug.cpp:7
debug
void debug(int level, const char *msg,...)
Definition:
debug.cpp:9
Generated by
1.8.11