LoggerBaseDateTimeFormat 属性
获取或设置日期时间格式
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.1.4.7+7f7e1f78093c99347956e09330d5d7aca1d2bdf2
public string DateTimeFormat { get; set; }
Public Property DateTimeFormat As String
Get
Set
abstract DateTimeFormat : string with get, set
override DateTimeFormat : string with get, set
StringILogDateTimeFormat
这个属性用于定义如何格式化或解析字符串中的日期和时间
默认格式为 "yyyy-MM-dd HH:mm:ss ffff",其中 "yyyy" 代表年份,
"MM" 代表月份,"dd" 代表日期,"HH" 代表小时,
"mm" 代表分钟,"ss" 代表秒,"ffff" 代表毫秒