RuntimeContext

public protocol RuntimeContext

Runtime context captured at the time of the log statement

  • The name of the current process.

    Declaration

    Swift

    var processName: String { get }
  • The identifier of the current process (often called process ID).

    Declaration

    Swift

    var processIdentifier: Int { get }
  • The current threads identifier.

    Declaration

    Swift

    var threadIdentifier: UInt64 { get }