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 ID of the thread on which the call was executed. You should treat thread IDs as opaque strings whose values may be recycled over time.

    Declaration

    Swift

    case callingThread
  • Represents the Payload of a `LogEntry.

    Declaration

    Swift

    case payload
  • Represents a string literal.

    Declaration

    Swift

    case literal(String)