LoggerBaseDateTimeFormat 属性
获取或设置日期时间格式
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
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" 代表毫秒