BRLMLog
Log of the SDK's operation.
Overview
This object records the working logs of SDK.
Properties
timeStamp
The date of the log. For example, it is expressed in the form "2022/01/31_20:53:21:790".
Declaration
@property (nonatomic, readonly, nonnull) NSString* timeStamp;
level
Indicator of seriousness of the event.
See BRLMLogLevel
.
Declaration
@property (nonatomic, readonly) BRLMLogLevel level;
errorDescription
Description of the event.
Declaration
@property (nonatomic, readonly, nonnull) NSString* errorDescription;
errorCode
Error code. This value is as same as BRLMPrintErrorCode
.
Must be typecast as needed.
Declaration
typedef int BRLMVariantErrorCode;
@property (nonatomic, readonly) BRLMVariantErrorCode errorCode;
whereCause
Which API of the SDK the event occurred on.
Declaration
@property (nonatomic, readonly, nonnull) NSString* whereCause;
identificationCode
Unique ID of the log.
Declaration
@property (nonatomic, readonly, nonnull) NSString* identificationCode;
Types
BRLMLogLevel
Name | Description |
---|---|
Notice | No problem with operation. |
Warning | Problem occurred, but operation completed. |
Error | Serious problems occurred and could not operate properly. |
Declaration
typedef NS_ENUM(NSInteger, BRLMLogLevel) {
BRLMLogLevelNotice = 1,
BRLMLogLevelWarning = 2,
BRLMLogLevelError = 3,
}