aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Framework.Console
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim.Framework.Console')
-rw-r--r--OpenSim.Framework.Console/ConsoleBase.cs24
1 files changed, 12 insertions, 12 deletions
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;
3 3
4namespace OpenSim.Framework.Console 4namespace OpenSim.Framework.Console
5{ 5{
6 public class ConsoleBase 6 public enum LogPriority : int
7 { 7 {
8 public enum LogPriority : int 8 CRITICAL,
9 { 9 HIGH,
10 CRITICAL, 10 MEDIUM,
11 HIGH, 11 NORMAL,
12 MEDIUM, 12 LOW,
13 NORMAL, 13 VERBOSE,
14 LOW, 14 EXTRAVERBOSE
15 VERBOSE, 15 }
16 EXTRAVERBOSE
17 }
18 16
17 public class ConsoleBase
18 {
19 StreamWriter Log; 19 StreamWriter Log;
20 public conscmd_callback cmdparser; 20 public conscmd_callback cmdparser;
21 public string componentname; 21 public string componentname;
@@ -142,7 +142,7 @@ namespace OpenSim.Framework.Console
142 } 142 }
143 else 143 else
144 { 144 {
145 this.WriteLine("Valid options are " + OptionA + " or " + OptionB); 145 this.WriteLine(LogPriority.MEDIUM,"Valid options are " + OptionA + " or " + OptionB);
146 temp = CmdPrompt(prompt, defaultresponse); 146 temp = CmdPrompt(prompt, defaultresponse);
147 } 147 }
148 } 148 }