clutchlog
0.15
t-one-line-if.cpp
1
#include "../clutchlog/clutchlog.h"
2
3
int
main()
4
{
5
if
(
true
)
6
CLUTCHLOG
(error,
"WHAT?"
);
7
else
8
CLUTCHLOG
(info,
"OH!"
);
9
10
if
(
false
)
11
CLUTCHLOG
(info,
"AH!"
);
12
else
13
CLUTCHLOG
(error,
"NO!"
);
14
}
CLUTCHLOG
#define CLUTCHLOG(LEVEL, WHAT)
Log a message at the given level.
Definition:
clutchlog.h:98
tests
t-one-line-if.cpp
Generated by
1.8.17