Attribute
public enum Attribute : Int, CaseIterable
JSONFormat
attributes that can be output.
See also
JSONFormat
for usage.
-
Output the timestamp as an
Int
.Declaration
Swift
case timestamp
-
Output the level as a
String
such as ERROR, WARNING, INFO, etc.Declaration
Swift
case level
-
Output the tag field as a
String
.Declaration
Swift
case tag
-
Output the message field as a
String
.Declaration
Swift
case message
-
Output the processName field as a
String
.Declaration
Swift
case processName
-
Output the processIdentifier field as a
Int
.Declaration
Swift
case processIdentifier
-
Output the threadIdentifier field as a
UInt64
.Declaration
Swift
case threadIdentifier
-
Output the file field as a
String
.Declaration
Swift
case file
-
Output the function field as a
String
.Declaration
Swift
case function
-
Output the line field as a
Int
.Declaration
Swift
case line