Author: rolf
Date: 2007-03-07 04:30:07 -0500 (Wed, 07 Mar 2007)
New Revision: 73876

Modified:
   
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Logging/ChangeLog
   
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Logging/FileLogTraceListener.vb
   
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Logging/Log.vb
Log:
* Log.vb, FileLogTraceListener.vb: Removed mono_not_yet from a couple
  of methods, since more missing bits have been implemented on Mono.

Modified: 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Logging/ChangeLog
===================================================================
--- 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Logging/ChangeLog
    2007-03-07 09:29:51 UTC (rev 73875)
+++ 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Logging/ChangeLog
    2007-03-07 09:30:07 UTC (rev 73876)
@@ -1,3 +1,8 @@
+2007-03-07  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
+       * Log.vb, FileLogTraceListener.vb: Removed mono_not_yet from a couple
+         of methods, since more missing bits have been implemented on Mono.
+
 2007-01-15  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
 
        * Added AspLog.vb, DispSpaceExhaustedOption.vb, 

Modified: 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Logging/FileLogTraceListener.vb
===================================================================
--- 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Logging/FileLogTraceListener.vb
      2007-03-07 09:29:51 UTC (rev 73875)
+++ 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Logging/FileLogTraceListener.vb
      2007-03-07 09:30:07 UTC (rev 73876)
@@ -73,7 +73,6 @@
             m_ReserveDiskSpace = 10000000
         End Sub
 
-#If mono_not_yet Then
         Public Overrides Sub Close()
             MyBase.Close()
             m_Stream.Close()
@@ -114,6 +113,8 @@
                 TraceEvent(eventCache, source, eventType, id, 
Microsoft.VisualBasic.Join(data, m_Delimiter))
             End If
         End Sub
+
+#If mono_not_yet Then
         Public Overrides Sub TraceEvent(ByVal eventCache As TraceEventCache, 
ByVal source As String, ByVal eventType As TraceEventType, ByVal id As Integer, 
ByVal message As String)
             If Me.Filter IsNot Nothing AndAlso 
Me.Filter.ShouldTrace(eventCache, source, eventType, id, message, Nothing, 
Nothing, Nothing) = False Then Return
 
@@ -159,6 +160,7 @@
             End If
             WriteLine(builder.ToString)
         End Sub
+#End If
 
         Public Overrides Sub TraceEvent(ByVal eventCache As TraceEventCache, 
ByVal source As String, ByVal eventType As TraceEventType, ByVal id As Integer, 
ByVal format As String, ByVal ParamArray args As Object())
             If args Is Nothing Then
@@ -168,7 +170,6 @@
             End If
         End Sub
 
-#End If
 
         Public Overrides Sub Write(ByVal message As String)
             Dim stream As System.IO.StreamWriter

Modified: 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Logging/Log.vb
===================================================================
--- 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Logging/Log.vb
       2007-03-07 09:29:51 UTC (rev 73875)
+++ 
trunk/mono-basic/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.Logging/Log.vb
       2007-03-07 09:30:07 UTC (rev 73876)
@@ -30,28 +30,22 @@
 
 Namespace Microsoft.VisualBasic.Logging
     Public Class Log
-#If mono_not_yet Then
+
         Private m_Source As TraceSource
-#End If
+
         Private Shared m_IDs() As Integer = New Integer() {3, 2, 1, 0, 8, -1, 
-1, -1, 4, 5, 6, 7, 9}
 
         Public Sub New()
             'Empty constructor
-#If mono_not_yet Then
+
             m_Source = New TraceSource("DefaultSource")
             InitializeWithDefaultsSinceNoConfigExists()
-#Else
-            throw new NotImplementedException
-#End If
+
         End Sub
 
         Public Sub New(ByVal name As String)
-#If mono_not_yet Then
             m_Source = New TraceSource(name)
             InitializeWithDefaultsSinceNoConfigExists()
-#Else
-            throw new NotImplementedException
-#End If
         End Sub
 
         Protected Friend Overridable Sub 
InitializeWithDefaultsSinceNoConfigExists()

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to