1
0
Fork 0

Doc - Added "log-output" example (#10207)

* Uses file://

* On Windows backslashes but also forward slashes work
This commit is contained in:
Simran 2019-10-10 16:33:07 +02:00 committed by GitHub
parent 69dc50622a
commit e5fb446dea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -99,7 +99,9 @@ void LoggerFeature::collectOptions(std::shared_ptr<ProgramOptions> options) {
options->addOption("--log.escape", "escape characters when logging",
new BooleanParameter(&_useEscaped));
options->addOption("--log.output,-o", "log destination(s)",
options->addOption("--log.output,-o",
"log destination(s), e.g. file:///path/to/file (Linux, macOS) "
"or file://C:\\path\\to\\file (Windows)",
new VectorParameter<StringParameter>(&_output));
options->addOption("--log.level,-l", "the global or topic-specific log level",