LXLogEntry

public struct LXLogEntry

The details of a Log Entry.

  • The version of the LogKit framework that generated this Entry.

    Declaration

    Swift

    public let logKitVersion: String = LK_LOGKIT_VERSION
  • The message provided during the logging call.

    Declaration

    Swift

    public let message: String
  • A dictionary of additional values to be provided to each Endpoint’s entryFormatter.

    Declaration

    Swift

    public let userInfo: [String: AnyObject]
  • The name of the Entry’s Priority Level.

    Declaration

    Swift

    public let level: String
  • The number of seconds since the Unix epoch (midnight 1970-01-01 UTC).

    Declaration

    Swift

    public let timestamp: Double
  • The Entry’s timestamp as a string serialized by an Endpoint’s dateFormatter.

    Declaration

    Swift

    public let dateTime: String
  • The function from which the Log Entry was created.

    Declaration

    Swift

    public let functionName: String
  • The absolute path of the source file from which the Log Entry was created.

    Declaration

    Swift

    public let filePath: String
  • The line number in the file from which the Log Entry was created.

    Declaration

    Swift

    public let lineNumber: Int
  • The column number in the file from which the Log Entry was created.

    Declaration

    Swift

    public let columnNumber: Int
  • The ID of the thread from which the Log Entry was created.

    Declaration

    Swift

    public let threadID: String
  • The name of the thread from which the Log Entry was created.

    Declaration

    Swift

    public let threadName: String
  • An indicator of whether the Log Entry was created on the main thread.

    Declaration

    Swift

    public let isMainThread: Bool
  • A description of the operating system, including its name and version.

    Declaration

    Swift

    public let osVersionString: String = LK_DEVICE_OS.description
  • The major version number of the operating system.

    Declaration

    Swift

    public let osMajorVersion: Int = LK_DEVICE_OS.majorVersion
  • The minor version number of the operating system.

    Declaration

    Swift

    public let osMinorVersion: Int = LK_DEVICE_OS.minorVersion
  • The patch version number of the operating system.

    Declaration

    Swift

    public let osPatchVersion: Int = LK_DEVICE_OS.patchVersion
  • The build version string of the operating system.

    Declaration

    Swift

    public let osBuildVersion: String = LK_DEVICE_OS.buildVersion
  • The bundle ID of the host application.

    Declaration

    Swift

    public let bundleID: String = LK_BUNDLE_ID
  • The model of the device running the application.

    Declaration

    Swift

    public let deviceModel: String = LK_DEVICE_MODEL
  • The type of the device running the application.

    Declaration

    Swift

    public let deviceType: String = LK_DEVICE_TYPE
  • The vendor ID of the device running the application (if available).

    Declaration

    Swift

    public let deviceVendorID: String = LK_DEVICE_IDS.vendor
  • The advertising ID of the device running the application (if available).

    Declaration

    Swift

    public let deviceAdvertisingID: String = LK_DEVICE_IDS.advertising
  • The name of the source file from which the Log Entry was created.

    Declaration

    Swift

    public var fileName: String