diff options
author | Melanie Thielker | 2009-05-20 14:40:50 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-20 14:40:50 +0000 |
commit | 3ae9bb6d83540ef5acf3cbe4969d0f9c01164d21 (patch) | |
tree | 2f8fe335030dd70795fba2a6334e150c1fab19a4 /OpenSim/Framework/Console/ConsoleBase.cs | |
parent | Remove the pre-log4net, discrete output methods from the consoles (diff) | |
download | opensim-SC-3ae9bb6d83540ef5acf3cbe4969d0f9c01164d21.zip opensim-SC-3ae9bb6d83540ef5acf3cbe4969d0f9c01164d21.tar.gz opensim-SC-3ae9bb6d83540ef5acf3cbe4969d0f9c01164d21.tar.bz2 opensim-SC-3ae9bb6d83540ef5acf3cbe4969d0f9c01164d21.tar.xz |
Move the color console logic from the appender into the local console, since
that is the only one that can use it. Change appender output to always go
through the console output functions.
Diffstat (limited to 'OpenSim/Framework/Console/ConsoleBase.cs')
-rw-r--r-- | OpenSim/Framework/Console/ConsoleBase.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs index 0747ae5..6e00888 100644 --- a/OpenSim/Framework/Console/ConsoleBase.cs +++ b/OpenSim/Framework/Console/ConsoleBase.cs | |||
@@ -66,9 +66,14 @@ namespace OpenSim.Framework.Console | |||
66 | { | 66 | { |
67 | } | 67 | } |
68 | 68 | ||
69 | public virtual void Output(string text, string level) | ||
70 | { | ||
71 | Output(text); | ||
72 | } | ||
73 | |||
69 | public virtual void Output(string text) | 74 | public virtual void Output(string text) |
70 | { | 75 | { |
71 | System.Console.WriteLine(text); | 76 | System.Console.Write(text); |
72 | } | 77 | } |
73 | 78 | ||
74 | public string CmdPrompt(string p) | 79 | public string CmdPrompt(string p) |