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.0.7.4.1
parent
6b87a29c86
commit
164706043d
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue