Field

public enum Field

The individual Field declarations for the FieldBasedLogFormatter.

  • Represents the call site field. The call site includes the filename and line number corresponding to the call site’s source.

    Declaration

    Swift

    case callSite
  • Represents the stack frame of the caller. Assuming the call site is within a function, this field will contain the signature of the function.

    Declaration

    Swift

    case stackFrame
  • Represents the Payload of a LogEntry.

    Declaration

    Swift

    case payload
  • Represents the name of the currently executing process.

    Declaration

    Swift

    case processName
  • Represents the ID of the currently executing process.

    Declaration

    Swift

    case processID
  • Represents a string literal.

    Declaration

    Swift

    case literal(String)