LogObserver

public protocol LogObserver : AnyObject

A protocol allowing conforming objects to monitor log file changes.

  • Called whenever the log file is updated.

    Declaration

    Swift

    func logFileUpdated(logs: String)

    Parameters

    logs

    the full content of the log as a String.