SecureLogConfig
@interface SecureLogConfig : NSObject
The class to provide initialisation function to initialise SecureLog config, it takes the parameters from SecureLogConfigComponents. All of parameters is read-only and can’t be changed after the initWithConfigComponentsBuilder function is called
-
Get the config file Id.
Declaration
Objective-C
@property (readonly, strong, nonatomic) NSString *_Nonnull fileID;
Swift
var fileID: String { get }
-
Get the config public key modulus.
Declaration
Objective-C
@property (readonly, strong, nonatomic) NSData *_Nonnull publicKeyModulus;
Swift
var publicKeyModulus: Data { get }
-
Get the config public key exponent.
Declaration
Objective-C
@property (readonly, strong, nonatomic) NSData *_Nonnull publicKeyExponent;
Swift
var publicKeyExponent: Data { get }
-
Get the config logs directory.
Declaration
Objective-C
@property (readonly, strong, nonatomic) NSURL *_Nonnull directory;
Swift
var directory: URL { get }
-
Get the config rolling file max count.
Declaration
Objective-C
@property (readonly, nonatomic) NSUInteger rollingFileMaxCount;
Swift
var rollingFileMaxCount: UInt { get }
-
Get the config rolling size.
Declaration
Objective-C
@property (readonly, nonatomic) NSUInteger rollingSizeInKB;
Swift
var rollingSizeInKB: UInt { get }
-
Get the config log level.
Declaration
Objective-C
@property (readonly, nonatomic) SecureLogLevel logLevel;
Swift
var logLevel: SecureLogLevel { get }
-
Unavailable
There is no direct init function available. The init function shall be done via SecureLogConfigComponents and return SecureLogConfig object to use
Declaration
Objective-C
- (nonnull instancetype)init;
-
Init secure log config with components builder
Declaration
Objective-C
- (nonnull instancetype)initWithConfigComponentsBuilder: (nonnull void (^)(SecureLogConfigComponents *_Nonnull))componentsBuilder;
Swift
init(configComponentsBuilder componentsBuilder: @escaping (SecureLogConfigComponents) -> Void)
Parameters
componentsBuilder
components builder.
Return Value
Instance of secure log config.