25 #include <boost/program_options/options_description.hpp>
60 utils::optional<unsigned short>
port;
bool report_timings
Whether to report timing information for server requests.
utils::optional< std::string > config_file
Path to the add-ons server configuration file.
const std::string & help_text() const
Retrieves the –help text.
bool version
True if –version was passed.
utils::optional< unsigned short > port
Port number on which the server will listen for incoming connections.
void parse_log_domains(const std::string &domains_string, int severity)
utils::optional< std::string > server_dir
Path to the add-ons server storage dir.
command_line(int argc, char **argv)
Reads the command line.
bool help
True if –help was passed.
std::vector< std::string > args_
bool show_log_domains
True if –logdomains was passed.
std::map< std::string, lg::severity > log_domain_levels
Log domain/severity configuration.
bool log_precise_timestamps
Whether to use higher precision for log timestamps.
Standard logging facilities (interface).