SecureLogConfig
Objective-C
@interface SecureLogConfig : NSObject
Swift
class 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 (nonatomic, strong, readonly) NSString *_Nonnull fileID;Swift
var fileID: String { get } -
Get the config public key modulus.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSData *_Nonnull publicKeyModulus;Swift
var publicKeyModulus: Data { get } -
Get the config public key exponent.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSData *_Nonnull publicKeyExponent;Swift
var publicKeyExponent: Data { get } -
Get the config logs directory.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSURL *_Nonnull directory;Swift
var directory: URL { get } -
Get the config rolling file max count.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger rollingFileMaxCount;Swift
var rollingFileMaxCount: UInt { get } -
Get the config rolling size.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger rollingSizeInKB;Swift
var rollingSizeInKB: UInt { get } -
Get the config log level.
Declaration
Objective-C
@property (nonatomic, readonly) 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; -
@brief 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
componentsBuildercomponents builder.
Return Value
Instance of secure log config.
SecureLogConfig Class Reference