From 32869aec47b9bc7f7046d24aabc3f3d957a929af Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 25 Oct 2007 15:34:43 +0000 Subject: apply http://bug.opensecondlife.org/view.php?id=512 from chillken which cleans up the verbose logic --- OpenSim/Framework/Console/LogBase.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Framework') 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 StreamWriter Log; public conscmd_callback cmdparser; public string componentname; - private bool m_silent; + private bool m_verbose; - public LogBase(string LogFile, string componentname, conscmd_callback cmdparser, bool silent) + public LogBase(string LogFile, string componentname, conscmd_callback cmdparser, bool verbose) { this.componentname = componentname; this.cmdparser = cmdparser; - this.m_silent = silent; + this.m_verbose = verbose; System.Console.WriteLine("Creating new local console"); if (String.IsNullOrEmpty(LogFile)) @@ -170,7 +170,7 @@ namespace OpenSim.Framework.Console /// WriteLine-style message arguments public void Verbose(string format, params object[] args) { - if (!m_silent) + if (m_verbose) { WriteNewLine(ConsoleColor.Gray, format, args); return; @@ -185,7 +185,7 @@ namespace OpenSim.Framework.Console /// WriteLine-style message arguments public void Verbose(string sender, string format, params object[] args) { - if (!m_silent) + if (m_verbose) { WritePrefixLine(DeriveColor(sender), sender); WriteNewLine(ConsoleColor.Gray, format, args); -- cgit v1.1