SecureLog

Objective-C

@protocol SecureLog <NSObject>

Swift

protocol SecureLog : NSObjectProtocol

The protocol contains all functions to the app integrators to interact with Secure Log

  • Unavailable

    There is no direct init function available. Cast the SecureLogImpl object to this protocol and call below function to interact with Secure Log

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • @brief Set the secure log level to write in log file.

    Declaration

    Objective-C

    - (void)setLevel:(SecureLogLevel)logLevel;

    Swift

    func setLevel(_ logLevel: SecureLogLevel)

    Parameters

    logLevel

    log level.

  • @brief Return array of log files that logged by secure log.

    Declaration

    Objective-C

    - (nonnull NSArray<NSURL *> *)files;

    Swift

    func files() -> [URL]

    Return Value

    array of log files.

  • @brief Delete all logs that logged by secure log.

    Declaration

    Objective-C

    - (void)deleteFiles;

    Swift

    func deleteFiles()