StaticContext

public protocol StaticContext

Static context captured at the time of the log statement

Instance Properties

  • The file name with path component captured at the time the Log func was called to log a message.

    Declaration

    Swift

    var file: String { get }
  • The function name of the calling func captured at the time the Log func was called to log a message.

    Declaration

    Swift

    var function: String { get }
  • The line number captured at the time the Log func was called to log a message. Will be the line number of the log call.

    Declaration

    Swift

    var line: Int { get }