Scarab  v2.4.9
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  std::cout << "This is a cout message" << std::endl;
21 
22  return 0;
23 }
24 
25 
#define LWARN(...)
Definition: logger.hh:369
LOGGER(mtlog, "authentication")
#define LERROR(...)
Definition: logger.hh:370
Contains the logger class and macros, based on Kasper&#39;s KLogger class.
#define LDEBUG(...)
Definition: logger.hh:365
int main()
Definition: test_logger.cc:14
#define LINFO(...)
Definition: logger.hh:367