From 0fd17c08ae642fac17b24dfad06c61cfe5739483 Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 20 Aug 2019 23:28:59 +0100 Subject: Massive console refactor. Greatly simplify interface. --- .../CoreModules/Avatar/Attachments/AttachmentsModule.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) mode change 100644 => 100755 OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments') diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs old mode 100644 new mode 100755 index 5205576..864fc79 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs @@ -159,27 +159,27 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments if (!(args.Length == 4 && int.TryParse(args[3], out debugLevel))) { - MainConsole.Instance.OutputFormat("Usage: debug attachments log [0|1]"); + MainConsole.Instance.Output("Usage: debug attachments log [0|1]"); } else { DebugLevel = debugLevel; - MainConsole.Instance.OutputFormat( - "Set attachments debug level to {0} in {1}", DebugLevel, m_scene.Name); + MainConsole.Instance.Output( + "Set attachments debug level to {0} in {1}", null, DebugLevel, m_scene.Name); } } private void HandleDebugAttachmentsStatus(string module, string[] args) { - MainConsole.Instance.OutputFormat("Settings for {0}", m_scene.Name); - MainConsole.Instance.OutputFormat("Debug logging level: {0}", DebugLevel); + MainConsole.Instance.Output("Settings for {0}", null, m_scene.Name); + MainConsole.Instance.Output("Debug logging level: {0}", null, DebugLevel); } protected void HandleShowAttachmentsCommand(string module, string[] cmd) { if (cmd.Length != 2 && cmd.Length < 4) { - MainConsole.Instance.OutputFormat("Usage: attachments show [ ]"); + MainConsole.Instance.Output("Usage: attachments show [ ]"); return; } -- cgit v1.1