BVLogger Class Reference

Inherits from NSObject
Declared in BVLogger.h

Overview

BVLogger is used for logging debug and informational messages from the SDK.

+ sharedLogger

Singleton object. Use [BVLogger sharedLogger] whenever interacting with the logger.

+ (nonnull BVLogger *)sharedLogger

Declared In

BVLogger.h

  logLevel

Only messages of |logLevel| and below are logged.

@property (nonatomic, assign) BVLogLevel logLevel

Declared In

BVLogger.h

– verbose:

Logs message with log level BVLogLevelVerbose.

- (void)verbose:(nonnull NSString *)message

Declared In

BVLogger.h

– info:

Logs message with log level BVLogLevelInfo.

- (void)info:(nonnull NSString *)message

Declared In

BVLogger.h

– warning:

Logs message with log level BVLogLevelWarning.

- (void)warning:(nonnull NSString *)message

Declared In

BVLogger.h

– error:

Logs message with log level BVLogLevelError.

- (void)error:(nonnull NSString *)message

Declared In

BVLogger.h

– printError:

Logs all errors with log level BVLogLevelError.

- (void)printError:(nonnull NSError *)error

Declared In

BVLogger.h

– printErrors:

Logs all errors with log level BVLogLevelError.

- (void)printErrors:(nonnull NSArray<NSError*> *)errors

Declared In

BVLogger.h

– analyticsMessage:

Logs messages specific to analytic events that this SDK fires

- (void)analyticsMessage:(nonnull NSString *)message

Declared In

BVLogger.h