VLDLogging
Objective-C
@interface VLDLogging : NSObject
/** Enables or disbales logging
*/
@property(nonatomic) BOOL isEnabled;
/**
Mask to output debug messages from Validic Frameworks. Ex: [[VLDLogging sharedInstance] setLog:VLDLogBluetooth & VLDLogCore];
*/
@property(nonatomic) NSUInteger log;
/** Custom log handler. If set to nil, logging is processed by the Validic SDK via logging to console
*/
- (void)setLogger:(VLDLogHandler)handler;
-(VLDLogHandler)getLogger;
/** sharedInstance returns the VLDLogging singleton and should be the only way VLDLogging is accessed. */
+ (instancetype)sharedInstance;
@end
Swift
class VLDLogging : NSObject
Undocumented
-
Enables or disbales logging
Declaration
Objective-C
@property (nonatomic) BOOL isEnabled;
Swift
var isEnabled: Bool { get set }
-
Mask to output debug messages from Validic Frameworks. Ex: [[VLDLogging sharedInstance] setLog:VLDLogBluetooth & VLDLogCore];
Declaration
Objective-C
@property (nonatomic) NSUInteger log;
Swift
var log: UInt { get set }
-
Custom log handler. If set to nil, logging is processed by the Validic SDK via logging to console
Declaration
Objective-C
- (void)setLogger:(VLDLogHandler)handler;
Swift
func setLogger(_ handler: VLDLogHandler!)
-
Undocumented
-
sharedInstance returns the VLDLogging singleton and should be the only way VLDLogging is accessed.
Declaration
Objective-C
+ (instancetype)sharedInstance;
Swift
class func sharedInstance() -> Self!