log4net写日志的时间附带时区信息

   <conversionPattern value="%date{yyyy-MM-dd HH:mm:ss.fffzzz} [%thread] %-5level %logger - %message%newline" />

 

https://logging.apache.org/log4net/log4net-1.2.13/release/sdk/log4net.Layout.PatternLayout.html

https://stackoverflow.com/questions/44667663/convert-datetime-to-specific-timezone-for-tostring

posted @ 2018-02-24 16:18  ChuckLu  阅读(853)  评论(0编辑  收藏  举报