下面是配置文件中的内容。
<formatters>
<add template="{timestamp} {severity} {category} {message}" type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
name="SingleLineFormatter" />
</formatters>
该显示的内容为:
31/05/2011 11:43:24 信息...
但是没有显示毫秒,这对于性能检测非常有用。是否有人知道如何显示毫秒?谢谢。