Scarab  v2.2.0
Project 8 C++ Utility Library
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 
#define LWARN(...)
Definition: logger.hh:364
#define LERROR(...)
Definition: logger.hh:365
Contains the logger class and macros, based on Kasper's KLogger class.
#define LDEBUG(...)
Definition: logger.hh:360
int main()
Definition: test_logger.cc:14
#define LINFO(...)
Definition: logger.hh:362
LOGGER(mtlog,"authentication")