SecureLogAPI 2.0.0
Loading...
Searching...
No Matches
<SecureLog> Protocol Reference

#include <SecureLog.h>

Inheritance diagram for <SecureLog>:

Instance Methods

(instancetype) - NS_UNAVAILABLE
(void) - setLevel:
 Set the secure log level to write in log file.
(NSArray< NSURL * > *) - files
 Return array of log files that logged by secure log.
(void) - deleteFiles
 Delete all logs that logged by secure log.

Detailed Description

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

Method Documentation

◆ deleteFiles

- (void) deleteFiles

Delete all logs that logged by secure log.

◆ files

- (NSArray< NSURL * > *) files

Return array of log files that logged by secure log.

Returns
array of log files.

◆ NS_UNAVAILABLE

- (instancetype) NS_UNAVAILABLE

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

◆ setLevel:

- (void) setLevel: (SecureLogLevel) logLevel

Set the secure log level to write in log file.

Parameters
logLevellog level.