You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by ni...@apache.org on 2004/09/13 12:40:15 UTC
cvs commit: logging-log4net/extensions/net/1.0/log4net.Ext.EventID/cs/src EventIDLogImpl.cs
nicko 2004/09/13 03:40:15
Modified: extensions/net/1.0/log4net.Ext.EventID/cs/src
EventIDLogImpl.cs
Log:
Updated to use EventProperties
Revision Changes Path
1.3 +4 -4 logging-log4net/extensions/net/1.0/log4net.Ext.EventID/cs/src/EventIDLogImpl.cs
Index: EventIDLogImpl.cs
===================================================================
RCS file: /home/cvs/logging-log4net/extensions/net/1.0/log4net.Ext.EventID/cs/src/EventIDLogImpl.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- EventIDLogImpl.cs 16 Feb 2004 02:20:56 -0000 1.2
+++ EventIDLogImpl.cs 13 Sep 2004 10:40:14 -0000 1.3
@@ -42,7 +42,7 @@
if (this.IsInfoEnabled)
{
LoggingEvent loggingEvent = new LoggingEvent(FullName, Logger.Repository, Logger.Name, Level.Info, message, t);
- loggingEvent.Properties["EventID"] = eventId;
+ loggingEvent.EventProperties["EventID"] = eventId;
Logger.Log(loggingEvent);
}
}
@@ -57,7 +57,7 @@
if (this.IsWarnEnabled)
{
LoggingEvent loggingEvent = new LoggingEvent(FullName, Logger.Repository, Logger.Name, Level.Info, message, t);
- loggingEvent.Properties["EventID"] = eventId;
+ loggingEvent.EventProperties["EventID"] = eventId;
Logger.Log(loggingEvent);
}
}
@@ -72,7 +72,7 @@
if (this.IsErrorEnabled)
{
LoggingEvent loggingEvent = new LoggingEvent(this.FullName, Logger.Repository, Logger.Name, Level.Info, message, t);
- loggingEvent.Properties["EventID"] = eventId;
+ loggingEvent.EventProperties["EventID"] = eventId;
Logger.Log(loggingEvent);
}
}
@@ -87,7 +87,7 @@
if (this.IsFatalEnabled)
{
LoggingEvent loggingEvent = new LoggingEvent(this.FullName, Logger.Repository, Logger.Name, Level.Info, message, t);
- loggingEvent.Properties["EventID"] = eventId;
+ loggingEvent.EventProperties["EventID"] = eventId;
Logger.Log(loggingEvent);
}
}