更改企业库异常处理格式化程序中的时间戳值 [英] Change Timestamp value in enterprise library exception handling formatter

查看:169
本文介绍了更改企业库异常处理格式化程序中的时间戳值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用entercrize库5.0与c#进行异常处理,而且我正在使用formatter.Now在我的日志文件中,Timestamp没有给出正确的时间。
我可以更改格式化程序中的时间戳值。

I am using enterprize library 5.0 with c# for exception handling and for that I am using formatter.Now In my log file Timestamp is not giving the right time. Can I change the value of timestamp in formatter.

推荐答案



时间戳记:{timestamp(local)}将获取本地系统时间

Timestamp: {timestamp(local)} will get the local system time

这篇关于更改企业库异常处理格式化程序中的时间戳值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆