54 LOGGER( testlog,
"test_nonoption_parser" );
58 LINFO( testlog,
"Creating arguments" );
59 std::vector< std::string > t_args;
60 t_args.push_back(
"We" );
61 t_args.push_back(
"are" );
62 t_args.push_back(
"5" );
63 t_args.push_back(
"ordered" );
64 t_args.push_back(
"args" );
66 t_args.push_back(
"And=1" );
67 t_args.push_back(
"we=2" );
68 t_args.push_back(
"are.6=3.0" );
69 t_args.push_back(
"key.word=-4" );
70 t_args.push_back(
"args=5e8" );
72 LINFO( testlog,
"Parsing" );
75 LINFO( testlog,
"Checking parsed args" );
76 LINFO( testlog,
"\tOrdered args:\n" << t_parser.ord_args() );
77 LINFO( testlog,
"\tKeyword args:\n" << t_parser.kw_args() );
Contains the logger class and macros, based on Kasper's KLogger class.
LOGGER(mtlog,"authentication")