Author: gert
Date: 2006-08-11 06:41:19 -0400 (Fri, 11 Aug 2006)
New Revision: 63634
Modified:
trunk/mcs/class/System/System.Diagnostics/ChangeLog
trunk/mcs/class/System/System.Diagnostics/EventLog.cs
Log:
* EventLog.cs: For now, use null implementation.
Modified: trunk/mcs/class/System/System.Diagnostics/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.Diagnostics/ChangeLog 2006-08-11 10:32:58 UTC
(rev 63633)
+++ trunk/mcs/class/System/System.Diagnostics/ChangeLog 2006-08-11 10:41:19 UTC
(rev 63634)
@@ -1,5 +1,9 @@
2006-08-11 Gert Driesen <[EMAIL PROTECTED]>
+ * EventLog.cs: For now, Use null implementation.
+
+2006-08-11 Gert Driesen <[EMAIL PROTECTED]>
+
* EventLogEntry.cs: Added InstanceId property (2.0 only). Moved
Obsolete attribute to correct property.
* EventSourceCreationData.cs: Updated copyright. For internal ctor,
Modified: trunk/mcs/class/System/System.Diagnostics/EventLog.cs
===================================================================
--- trunk/mcs/class/System/System.Diagnostics/EventLog.cs 2006-08-11
10:32:58 UTC (rev 63633)
+++ trunk/mcs/class/System/System.Diagnostics/EventLog.cs 2006-08-11
10:41:19 UTC (rev 63634)
@@ -84,11 +84,14 @@
this.machineName = machineName;
this.logName = logName;
+ Impl = new NullEventLog (this);
+ /*
if (Win32EventLogEnabled) {
Impl = new Win32EventLog (this);
} else {
Impl = new UnixEventLog (this);
}
+ */
Impl.EntryWritten += new EntryWrittenEventHandler
(EntryWrittenHandler);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches