Prettify console output for long avatar names.
parent
576faee203
commit
251be8a1be
|
@ -418,7 +418,7 @@ namespace OpenSim
|
||||||
{
|
{
|
||||||
MainConsole.Instance.Output(
|
MainConsole.Instance.Output(
|
||||||
String.Format(
|
String.Format(
|
||||||
"Kicking user: {0,-16}{1,-16}{2,-37} in region: {3,-16}",
|
"Kicking user: {0,-16} {1,-16} {2,-37} in region: {3,-16}",
|
||||||
presence.Firstname, presence.Lastname, presence.UUID, regionInfo.RegionName));
|
presence.Firstname, presence.Lastname, presence.UUID, regionInfo.RegionName));
|
||||||
|
|
||||||
// kick client...
|
// kick client...
|
||||||
|
@ -861,7 +861,7 @@ namespace OpenSim
|
||||||
MainConsole.Instance.Output(String.Format("\nAgents connected: {0}\n", agents.Count));
|
MainConsole.Instance.Output(String.Format("\nAgents connected: {0}\n", agents.Count));
|
||||||
|
|
||||||
MainConsole.Instance.Output(
|
MainConsole.Instance.Output(
|
||||||
String.Format("{0,-16}{1,-16}{2,-37}{3,-11}{4,-16}{5,-30}", "Firstname", "Lastname",
|
String.Format("{0,-16} {1,-16} {2,-37} {3,-11} {4,-16} {5,-30}", "Firstname", "Lastname",
|
||||||
"Agent ID", "Root/Child", "Region", "Position"));
|
"Agent ID", "Root/Child", "Region", "Position"));
|
||||||
|
|
||||||
foreach (ScenePresence presence in agents)
|
foreach (ScenePresence presence in agents)
|
||||||
|
@ -880,7 +880,7 @@ namespace OpenSim
|
||||||
|
|
||||||
MainConsole.Instance.Output(
|
MainConsole.Instance.Output(
|
||||||
String.Format(
|
String.Format(
|
||||||
"{0,-16}{1,-16}{2,-37}{3,-11}{4,-16}{5,-30}",
|
"{0,-16} {1,-16} {2,-37} {3,-11} {4,-16} {5,-30}",
|
||||||
presence.Firstname,
|
presence.Firstname,
|
||||||
presence.Lastname,
|
presence.Lastname,
|
||||||
presence.UUID,
|
presence.UUID,
|
||||||
|
|
Loading…
Reference in New Issue