make Console Output(..) compatible with rest of code, again
parent
d7bf623f57
commit
b046ccebf2
|
@ -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 ""; }
|
||||
|
|
Loading…
Reference in New Issue