Using the logging block in Enterprise Library, I am seeing multiple log messages being emitted with the same time stamp, despite knowing that the calls to LogWriter.Write() are separated by several milliesconds (as measured System.Diagnostics.Stopwatch).
Any suggestions on what could be causing this?
If you need to have precision in the log
Using the System.Diagnostics.Stopwatch to get a precise time..
see Example here http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.gettimestamp.aspx
The resolution is based on your hardware. Can be as good as nanosecs.
contruct the logentry by hand,
In Other words, Build the logentry and call Write, rather than calling overloaded write with params.