Nymph  v1.5.2
Flow-Based Data Processing Framework
ConfigCheck.cc
Go to the documentation of this file.
1 /*
2  * ConfigCheck.cc
3  *
4  * Created on: Jan 4, 2013
5  * Author: nsoblath
6  *
7  */
8 
9 #include "KTApplication.hh"
10 #include "KTLogger.hh"
11 
12 using namespace Nymph;
13 
14 KTLOGGER(cclog, "ConfigCheck");
15 
16 int main(int argc, char** argv)
17 {
18  try
19  {
20  KTApplication app(argc, argv);
21  }
22  catch( std::exception& e )
23  {
24  KTERROR( cclog, "Something went wrong while processing the command line:\n" << e.what() );
25  return -1;
26  }
27 
28  return 0;
29 }
Interface for the command-line handler and the configurator.
KTLOGGER(applog, "KTApplication")
Contains KTApplication.
int main(int argc, char **argv)
Definition: ConfigCheck.cc:16
#define KTERROR(...)
Definition: KTLogger.hh:347
Contains the logger class and macros, based on Kasper&#39;s KLogger class.