Friday, December 07, 2007

Enterprise Library Logging Timestamp format

Just for awareness the Microsoft Enterprise Library Logging Application Block for flat file trace lister allows to specified the time stamp format in the template formatter as
{timestamp(local)} for local time zone time stamp or optionally you can specified your DateTime format such as MM/dd/yyyy HH:mm:ss.

See .NET Standard DateTime String Formats at http://msdn2.microsoft.com/en-us/library/az4se3k1(vs.71).aspx

No comments:

Post a Comment