MetaInfo

public struct MetaInfo : Equatable

Immutable struct for encapsulating meta information of the log message.

  • Whole path to the file where log message was created.

    Declaration

    Swift

    public let file: String
  • Name of the function where log call happened.

    Declaration

    Swift

    public let function: String
  • Line number of the log call.

    Declaration

    Swift

    public let line: Int
  • Timestamp of when the log message was created.

    Declaration

    Swift

    public let timeStamp: Date
  • Computed property for transforming MetaInfo struct into text line.

    Declaration

    Swift

    public var text: String { get }
  • Computed property for getting only file name from the file property.

    Declaration

    Swift

    public var fileName: String { get }