TimestampStyle
public enum TimestampStyle
Encapsulates the various formatting styles that can be used by the
TimestampLogFormatter
.
-
Specifies a timestamp style that uses the date format string
yyyy-MM-dd HH:mm:ss.SSS zzz
.Declaration
Swift
case `default`
-
Specifies a UNIX timestamp indicating the number of seconds elapsed since January 1, 1970.
Declaration
Swift
case unix
-
Specifies a custom date format.
Declaration
Swift
case custom(String)