[Monodevelop-patches-list] r2437 - in trunk/MonoDevelop/Core/src/MonoDevelop.Base: . Services
Christian Hergert <chris@mosaix.net>
chergert at mono-cvs.ximian.com
Fri Apr 8 18:54:47 EDT 2005
Author: chergert
Date: 2005-04-08 18:54:46 -0400 (Fri, 08 Apr 2005)
New Revision: 2437
Modified:
trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog
trunk/MonoDevelop/Core/src/MonoDevelop.Base/Services/DefaultLoggingService.cs
Log:
Add event firing to Error (object) method. Fix constructor to be
more like the log4net examples.
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog 2005-04-08 19:57:06 UTC (rev 2436)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog 2005-04-08 22:54:46 UTC (rev 2437)
@@ -1,3 +1,8 @@
+2005-04-08 Christian Hergert <christian.hergert at gmail.com>
+
+ * Services/DefaultLoggingService.cs: Add missing event firing for Error
+ method. Attempt to fix the constructor to be more like log4net examples.
+
2005-04-07 Lluis Sanchez Gual <lluis at novell.com>
* Commands/ProjectBrowserCommands/FolderNodeCommands.cs: Implemented
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/Services/DefaultLoggingService.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/Services/DefaultLoggingService.cs 2005-04-08 19:57:06 UTC (rev 2436)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/Services/DefaultLoggingService.cs 2005-04-08 22:54:46 UTC (rev 2437)
@@ -4,6 +4,7 @@
using MonoDevelop.Core.Services;
using log4net;
+using log4net.Config;
namespace MonoDevelop.Services
{
@@ -13,7 +14,7 @@
public DefaultLoggingService()
{
- log4net.Config.XmlConfigurator.Configure();
+ XmlConfigurator.Configure();
}
public override void InitializeService()
@@ -77,6 +78,7 @@
public void Error (object message)
{
GetLogger().Error (message);
+ OnLogAppended ("Error", message.ToString());
}
public void Fatal (object message)
More information about the Monodevelop-patches-list
mailing list