Scarab
v2.4.7
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
std::cout <<
"This is a cout message"
<< std::endl;
21
22
return
0;
23
}
24
25
LWARN
#define LWARN(...)
Definition:
logger.hh:369
scarab::LOGGER
LOGGER(mtlog, "authentication")
LERROR
#define LERROR(...)
Definition:
logger.hh:370
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:365
main
int main()
Definition:
test_logger.cc:14
LINFO
#define LINFO(...)
Definition:
logger.hh:367
Generated by
1.8.13