I am writing to a text file and it looks like this ...
19/05/2010 15:33:34 Verbose Main in main method 19/05/2010 15:33:34 Information DoesSomethingInteresting() the answer to faster than light travel is
But what identifier should look like this:
19/05/2010 15:33:34 Verbose Main in main method 19/05/2010 15:33:34 Information DoesSomethingInteresting() the answer to faster than light travel is
You know, so everything is nicely formatted and tabbed aligned. Is there an easy way to do this, some runtime functions that will handle all the tedious add-ons?
Here is my code that records
LogFile.Write(string.Format("{0}\t{1}\t{2}\t{3}", log.Time, log.Level, log.Method, log.Message));
source share