SecureLog
@protocol SecureLog <NSObject>
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;
-
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.
-
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.
-
Delete all logs that logged by secure log.
Declaration
Objective-C
- (void)deleteFiles;
Swift
func deleteFiles()