Add command line flag to cgr-engine for logging levels

This adds a new -log_level flag to cgr-engine, defaulting to 5 (INFO). The logger has been extended to drop log messages that do not meet or exceed the log level requested.
This commit is contained in:
Shane Neuerburg
2016-10-21 19:31:24 -06:00
parent 3bd6ec39bd
commit 6c05c42c44
5 changed files with 118 additions and 17 deletions

View File

@@ -50,6 +50,7 @@ information, please see the [`CONTRIBUTING.md`](CONTRIBUTING.md) file.
| @andmar | André Maricato |
| @brendangilmore | Brendan Gilmore |
| @afone-lboue | Ludovic Boué |
| @shaneneuerburg | Shane Neuerburg |
<!-- to sign, include a single line above this comment containing the following text:
| @username | First Last |