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

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

问题描述

我正在使用带有 c# 的企业库 5.0 进行异常处理,为此我正在使用格式化程序.现在在我的日志文件中,时间戳没有给出正确的时间.我可以在格式化程序中更改时间戳的值吗?

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: {timestamp(local)} 将获取本地系统时间

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

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

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