#include <LogConfigParser.h>
Definition at line 8 of file LogConfigParser.h.
Public Member Functions | |
LogConfigParser (const char *filename, RuleSet *rs, Option *opts) | |
int | parse () |
int | flags () |
Private Attributes | |
const char * | filename_ |
RuleSet * | rs_ |
Option * | opts_ |
int | flags_ |
Classes | |
struct | Option |
rs | RuleSet to add parsed logging entries into. | |
options | Set of options to parse. End of options has option_str_ == 0. |
Definition at line 9 of file LogConfigParser.cc.
int oasys::LogConfigParser::parse | ( | ) |
Definition at line 19 of file LogConfigParser.cc.
References oasys::RuleSet::add_glob_rule(), oasys::RuleSet::add_prefix_rule(), filename_, flags_, oasys::LOG_DEBUG, oasys::LOG_INVALID, oasys::LogConfigParser::Option::option_str_, opts_, rs_, and oasys::str2level().
int oasys::LogConfigParser::flags | ( | ) | [inline] |
Definition at line 32 of file LogConfigParser.h.
References flags_.
const char* oasys::LogConfigParser::filename_ [private] |
RuleSet* oasys::LogConfigParser::rs_ [private] |
Option* oasys::LogConfigParser::opts_ [private] |
int oasys::LogConfigParser::flags_ [private] |