This PR adds command-line options to the server for adjusting the log verbosity and also allows the server to run without specifying a configuration file (in which case it will assume an empty configuration { }).
$ ./osvr_server --help
Command Line Options:
--help display this help message
-v [ --verbose ] enable verbose logging
-d [ --debug ] enable debug logging
Verbose logging sets the log level to debug and debug logging sets the log level to trace.
This PR adds command-line options to the server for adjusting the log verbosity and also allows the server to run without specifying a configuration file (in which case it will assume an empty configuration
{ }
).Verbose logging sets the log level to
debug
and debug logging sets the log level totrace
.This subsumes PR #293 by @Outurnate.