Scarab
v2.4.2
Project 8 C++ Utility Library
library
test
test_logger.cc
Go to the documentation of this file.
1
/*
2
* test_logger.cc
3
*
4
* Created on: Jan 4, 2016
5
* Author: nsoblath
6
*/
7
8
#include "
logger.hh
"
9
10
using namespace
scarab
;
11
12
LOGGER
( tlog,
"test_logger"
);
13
14
int
main
()
15
{
16
LDEBUG
( tlog,
"This is a DEBUG message"
);
17
LINFO
( tlog,
"This is an LINFO( message"
);
18
LWARN
( tlog,
"This is a WARN message"
);
19
LERROR
( tlog,
"This is an ERROR message"
);
20
21
return
0;
22
}
23
24
LWARN
#define LWARN(...)
Definition:
logger.hh:364
scarab::LOGGER
LOGGER(mtlog, "authentication")
LERROR
#define LERROR(...)
Definition:
logger.hh:365
scarab
Definition:
authentication.cc:18
logger.hh
Contains the logger class and macros, based on Kasper's KLogger class.
LDEBUG
#define LDEBUG(...)
Definition:
logger.hh:360
main
int main()
Definition:
test_logger.cc:14
LINFO
#define LINFO(...)
Definition:
logger.hh:362
Generated by
1.8.13