aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Console/LogBase.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/Console/LogBase.cs b/OpenSim/Framework/Console/LogBase.cs
index 246afa1..c976e2c 100644
--- a/OpenSim/Framework/Console/LogBase.cs
+++ b/OpenSim/Framework/Console/LogBase.cs
@@ -51,13 +51,13 @@ namespace OpenSim.Framework.Console
51 StreamWriter Log; 51 StreamWriter Log;
52 public conscmd_callback cmdparser; 52 public conscmd_callback cmdparser;
53 public string componentname; 53 public string componentname;
54 private bool m_silent; 54 private bool m_verbose;
55 55
56 public LogBase(string LogFile, string componentname, conscmd_callback cmdparser, bool silent) 56 public LogBase(string LogFile, string componentname, conscmd_callback cmdparser, bool verbose)
57 { 57 {
58 this.componentname = componentname; 58 this.componentname = componentname;
59 this.cmdparser = cmdparser; 59 this.cmdparser = cmdparser;
60 this.m_silent = silent; 60 this.m_verbose = verbose;
61 System.Console.WriteLine("Creating new local console"); 61 System.Console.WriteLine("Creating new local console");
62 62
63 if (String.IsNullOrEmpty(LogFile)) 63 if (String.IsNullOrEmpty(LogFile))
@@ -170,7 +170,7 @@ namespace OpenSim.Framework.Console
170 /// <param name="args">WriteLine-style message arguments</param> 170 /// <param name="args">WriteLine-style message arguments</param>
171 public void Verbose(string format, params object[] args) 171 public void Verbose(string format, params object[] args)
172 { 172 {
173 if (!m_silent) 173 if (m_verbose)
174 { 174 {
175 WriteNewLine(ConsoleColor.Gray, format, args); 175 WriteNewLine(ConsoleColor.Gray, format, args);
176 return; 176 return;
@@ -185,7 +185,7 @@ namespace OpenSim.Framework.Console
185 /// <param name="args">WriteLine-style message arguments</param> 185 /// <param name="args">WriteLine-style message arguments</param>
186 public void Verbose(string sender, string format, params object[] args) 186 public void Verbose(string sender, string format, params object[] args)
187 { 187 {
188 if (!m_silent) 188 if (m_verbose)
189 { 189 {
190 WritePrefixLine(DeriveColor(sender), sender); 190 WritePrefixLine(DeriveColor(sender), sender);
191 WriteNewLine(ConsoleColor.Gray, format, args); 191 WriteNewLine(ConsoleColor.Gray, format, args);