VLDLogging
Objective-C
@interface VLDLogging : NSObject
/** Enables or disables logging
*/
@property (nonatomic) BOOL isEnabled;
/**
Mask to output debug messages from Validic frameworks. Ex: `[[VLDLogging sharedInstance] setLog:VLDLogBluetooth | VLDLogCore];`
This property is deprecated. Please use `logMask`.
*/
@property (nonatomic, readwrite) NSUInteger log DEPRECATED_MSG_ATTRIBUTE("Use logMask instead");
/**
Mask to output debug messages from Validic frameworks. Ex: `[[VLDLogging sharedInstance] setLogMask:VLDLogBluetooth | VLDLogCore];`
*/
@property (nonatomic) VLDLogMask logMask;
/** Custom log handler. If set to `nil`, logging is processed by the Validic SDK via logging to console
*/
@property (nonatomic, copy, getter=getLogger) VLDLogHandler logger;
/** sharedInstance returns the VLDLogging singleton and should be the only way VLDLogging is accessed.
*/
+ (instancetype)sharedInstance;
@end
Swift
class VLDLogging : NSObject
Undocumented
-
Enables or disables logging
Declaration
Objective-C
@property (nonatomic) BOOL isEnabled;
Swift
var isEnabled: Bool { get set }
-
Deprecated
Use logMask instead
Mask to output debug messages from Validic frameworks. Ex:
[[VLDLogging sharedInstance] setLog:VLDLogBluetooth | VLDLogCore];
This property is deprecated. Please uselogMask
.Declaration
Objective-C
@property (nonatomic) NSUInteger log;
Swift
var log: UInt { get set }
-
Mask to output debug messages from Validic frameworks. Ex:
[[VLDLogging sharedInstance] setLogMask:VLDLogBluetooth | VLDLogCore];
Declaration
Objective-C
@property (nonatomic) VLDLogMask logMask;
Swift
var logMask: VLDLogMask { get set }
-
Custom log handler. If set to
nil
, logging is processed by the Validic SDK via logging to consoleDeclaration
Objective-C
@property (nonatomic, copy, getter=getLogger) VLDLogHandler logger;
Swift
var logger: VLDLogHandler! { get set }
-
sharedInstance returns the VLDLogging singleton and should be the only way VLDLogging is accessed.
Declaration
Objective-C
+ (instancetype)sharedInstance;
Swift
class func sharedInstance() -> Self!