FileDestination

public class FileDestination: BaseDestination

Handles outputting logs to a file

  • The URL of the file where the log will be saved

    Declaration

    Swift

    public var logFileURL: URL?
  • Hash value used for Hashable protocol

    Declaration

    Swift

    override public var defaultHashValue: Int
  • Default Initializer sets logFileURL

    Declaration

    Swift

    public override init()
  • Delete log file.

    Declaration

    Swift

    public func deleteLogFile() -> Bool

    Return Value

    true if file was removed or does not exist, false otherwise