From fd84968d05dd6168c07d4712a4e84961d7bae839 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sat, 12 May 2007 15:19:03 +0000 Subject: Only 193 warnings to go! --- OpenSim.Framework.Console/ConsoleBase.cs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'OpenSim.Framework.Console') diff --git a/OpenSim.Framework.Console/ConsoleBase.cs b/OpenSim.Framework.Console/ConsoleBase.cs index 4c92474..c72af45 100644 --- a/OpenSim.Framework.Console/ConsoleBase.cs +++ b/OpenSim.Framework.Console/ConsoleBase.cs @@ -3,19 +3,19 @@ using System.IO; namespace OpenSim.Framework.Console { - public class ConsoleBase + public enum LogPriority : int { - public enum LogPriority : int - { - CRITICAL, - HIGH, - MEDIUM, - NORMAL, - LOW, - VERBOSE, - EXTRAVERBOSE - } + CRITICAL, + HIGH, + MEDIUM, + NORMAL, + LOW, + VERBOSE, + EXTRAVERBOSE + } + public class ConsoleBase + { StreamWriter Log; public conscmd_callback cmdparser; public string componentname; @@ -142,7 +142,7 @@ namespace OpenSim.Framework.Console } else { - this.WriteLine("Valid options are " + OptionA + " or " + OptionB); + this.WriteLine(LogPriority.MEDIUM,"Valid options are " + OptionA + " or " + OptionB); temp = CmdPrompt(prompt, defaultresponse); } } -- cgit v1.1