mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Have the PhysicsParameters module output console command responses
directly to the console rather than logging at INFO (which doesn't output anything for WARN). There should really be a WriteLine method on ICommandConsole so all of the different commands don't have to figure out where the command output should go.
This commit is contained in:
@@ -264,14 +264,14 @@ namespace OpenSim.Region.OptionalModules.PhysicsParameters
|
||||
|
||||
private void WriteOut(string msg, params object[] args)
|
||||
{
|
||||
m_log.InfoFormat(msg, args);
|
||||
// MainConsole.Instance.OutputFormat(msg, args);
|
||||
// m_log.InfoFormat(msg, args);
|
||||
MainConsole.Instance.OutputFormat(msg, args);
|
||||
}
|
||||
|
||||
private void WriteError(string msg, params object[] args)
|
||||
{
|
||||
m_log.ErrorFormat(msg, args);
|
||||
// MainConsole.Instance.OutputFormat(msg, args);
|
||||
// m_log.ErrorFormat(msg, args);
|
||||
MainConsole.Instance.OutputFormat(msg, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user