Hi,
I want to make sure that my trace.Writeline's are properly written to my trace file and so I created a Threading.Timer like...
_trdStreamFlusher = New Threading.Timer(AddressOf StreamFlusher, _Stream, 10000, 10000)
' -Snip-
Private Shared Sub StreamFlusher(ByVal file As Object)
Dim oStream As IO.FileStream = DirectCast(file, IO.FileStream)
Try
oStream.Flush()
Catch ex As Exception
Console.WriteLine(ex.Message)
End Try
End Sub
but the file don't contain all my trace information :(
Any ideas?
TIA
/Kejpa