Massive console refactor. Greatly simplify interface.

This commit is contained in:
Melanie
2019-08-20 23:28:59 +01:00
parent f7a496136d
commit 0fd17c08ae
56 changed files with 430 additions and 453 deletions

4
OpenSim/Framework/Monitoring/StatsLogger.cs Normal file → Executable file
View File

@@ -79,7 +79,7 @@ namespace OpenSim.Framework.Monitoring
if (cmd[2] == "start")
{
Start();
con.OutputFormat("Now recording all stats to file every {0}ms", m_statsLogIntervalMs);
con.Output("Now recording all stats to file every {0}ms", null, m_statsLogIntervalMs);
}
else if (cmd[2] == "stop")
{
@@ -106,7 +106,7 @@ namespace OpenSim.Framework.Monitoring
sw.WriteLine(line);
}
MainConsole.Instance.OutputFormat("Stats saved to file {0}", path);
MainConsole.Instance.Output("Stats saved to file {0}", null, path);
}
public static void Start()