Managed to find some raw data from one of the existing log files on my system. I think maybe the columns are expecting the data to be in a certain format before it will display - As far as I can tell though there is no obvious way to determine what that format is.
I've now managed to get component and date time to appear properly using the following syntax:
Dim d As String = Now.Month & "-" & Now.Day & "-" & Now.YearDim str As String = "<![LOG[" & message & "]LOG]!><time=""" & Now.ToLongTimeString & "." & Now.Millisecond & "-60" & """" & " date=""" & d & """ component=""" & component.ToString & """" & " type=""1""" & " Thread=""" & t & """" & """ File=Me
Thread still isnt appearing properly but I think I can probably live with that
AndyAinscow
>>I think maybe the columns are expecting the data to be in a certain format before it will display - As far as I can tell though there is no obvious way to determine what that format is.
Is this some third party tool or something you don't have the code / documentation for?
R555B
ASKER
No - its just appending the text to a standard .log file. Just no way to know what it expects.
Could you provide your method to read the data from the text file and display it in the grid?
-saige-
AndyAinscow
>>No - its just appending the text to a standard .log file. Just no way to know what it expects.
To repeat myself: Is this some third party tool or something you don't have the code / documentation for?
By that I meant the viewer that you are using to see the log file output.
File.AppendAllText(logfile
and look at the contents of str.