mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
make Console Output(..) compatible with rest of code, again
This commit is contained in:
@@ -58,7 +58,12 @@ namespace OpenSim.Framework.Console
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void Output(string format, string level = null, params object[] components)
|
||||
public void Output(string format, params object[] components)
|
||||
{
|
||||
Output(format, null, components);
|
||||
}
|
||||
|
||||
public virtual void Output(string format, string level, params object[] components)
|
||||
{
|
||||
System.Console.WriteLine(format, components);
|
||||
}
|
||||
|
||||
@@ -389,7 +389,7 @@ namespace OpenSim.Framework.Console
|
||||
System.Console.WriteLine();
|
||||
}
|
||||
|
||||
public override void Output(string format, string level = null, params object[] components)
|
||||
public override void Output(string format, string level, params object[] components)
|
||||
{
|
||||
string text = String.Format(format, components);
|
||||
|
||||
@@ -400,7 +400,6 @@ namespace OpenSim.Framework.Console
|
||||
if (m_cursorYPosition == -1)
|
||||
{
|
||||
WriteLocalText(text, level);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -62,7 +62,8 @@ namespace OpenSim.Framework.Console
|
||||
set {}
|
||||
}
|
||||
|
||||
public void Output(string format, string level, params object[] components) {}
|
||||
public void Output(string format, params object[] components) { }
|
||||
public void Output(string format, string level, params object[] components) { }
|
||||
|
||||
public string Prompt(string p) { return ""; }
|
||||
public string Prompt(string p, string def, List<char> excludedCharacters, bool echo) { return ""; }
|
||||
|
||||
Reference in New Issue
Block a user