diff options
author | Adam Frisby | 2007-05-12 15:19:03 +0000 |
---|---|---|
committer | Adam Frisby | 2007-05-12 15:19:03 +0000 |
commit | fd84968d05dd6168c07d4712a4e84961d7bae839 (patch) | |
tree | 97aec2c7c45992c47bc19e1a4a996ec10d1093e0 /OpenSim.Framework | |
parent | You are obsolete. You will be EXTER-MIN-ATE-D. EXTER-MIN-ATE! (diff) | |
download | opensim-SC_OLD-fd84968d05dd6168c07d4712a4e84961d7bae839.zip opensim-SC_OLD-fd84968d05dd6168c07d4712a4e84961d7bae839.tar.gz opensim-SC_OLD-fd84968d05dd6168c07d4712a4e84961d7bae839.tar.bz2 opensim-SC_OLD-fd84968d05dd6168c07d4712a4e84961d7bae839.tar.xz |
Only 193 warnings to go!
Diffstat (limited to '')
-rw-r--r-- | OpenSim.Framework.Console/ConsoleBase.cs | 24 |
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 | ||
4 | namespace OpenSim.Framework.Console | 4 | namespace 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 | } |