mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Ref T180, log pattern for cmd. line and logging some cmd line activities
This commit is contained in:
@@ -62,6 +62,7 @@ namespace BlackSimPlugin
|
||||
{
|
||||
const bool on = parser.toBool(2);
|
||||
const bool s = this->useFsuipc(on);
|
||||
CLogMessage(this, CLogCategory::cmdLine()).info("FSUIPC is '%1'") << boolToOnOff(s);
|
||||
return s;
|
||||
}
|
||||
return false;
|
||||
|
||||
@@ -740,6 +740,7 @@ namespace BlackSimPlugin
|
||||
{
|
||||
const bool trace = parser.toBool(2);
|
||||
this->setTraceSendId(trace);
|
||||
CLogMessage(this, CLogCategory::cmdLine()).info("Tracing FSX/P3D driver sendIds is '%1'") << boolToOnOff(trace);
|
||||
return true;
|
||||
}
|
||||
return CSimulatorFsCommon::parseDetails(parser);
|
||||
|
||||
Reference in New Issue
Block a user