NTLogEventListener
@interface NTLogEventListener : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
Listener for events logged by the SDK.
-
Listener method that gets called when SDK want to log a debug level event. This method can be called from any thread.
Declaration
Objective-C
- (BOOL)onDebugEvent:(NSString *)message;
Parameters
message
The message to log.
Return Value
True if the message should be shown by the SDK or false if it should be ignored.
-
Listener method that gets called when SDK want to log a debug level event. This method can be called from any thread.
Declaration
Objective-C
- (BOOL)onDebugEventSwigExplicitNTLogEventListener:(NSString *)message;
Parameters
message
The message to log.
Return Value
True if the message should be shown by the SDK or false if it should be ignored.
-
Listener method that gets called when SDK want to log an info level event. This method can be called from any thread.
Declaration
Objective-C
- (BOOL)onInfoEvent:(NSString *)message;
Parameters
message
The message to log.
Return Value
True if the message should be shown by the SDK or false if it should be ignored.
-
Listener method that gets called when SDK want to log an info level event. This method can be called from any thread.
Declaration
Objective-C
- (BOOL)onInfoEventSwigExplicitNTLogEventListener:(NSString *)message;
Parameters
message
The message to log.
Return Value
True if the message should be shown by the SDK or false if it should be ignored.
-
Listener method that gets called when SDK want to log a warning level event. This method can be called from any thread.
Declaration
Objective-C
- (BOOL)onWarnEvent:(NSString *)message;
Parameters
message
The message to log.
Return Value
True if the message should be shown by the SDK or false if it should be ignored.
-
Listener method that gets called when SDK want to log a warning level event. This method can be called from any thread.
Declaration
Objective-C
- (BOOL)onWarnEventSwigExplicitNTLogEventListener:(NSString *)message;
Parameters
message
The message to log.
Return Value
True if the message should be shown by the SDK or false if it should be ignored.
-
Listener method that gets called when SDK want to log an error level event. This method can be called from any thread.
Declaration
Objective-C
- (BOOL)onErrorEvent:(NSString *)message;
Parameters
message
The message to log.
Return Value
True if the message should be shown by the SDK or false if it should be ignored.
-
Listener method that gets called when SDK want to log an error level event. This method can be called from any thread.
Declaration
Objective-C
- (BOOL)onErrorEventSwigExplicitNTLogEventListener:(NSString *)message;
Parameters
message
The message to log.
Return Value
True if the message should be shown by the SDK or false if it should be ignored.
-
Listener method that gets called when SDK want to log a fatal level event. This method can be called from any thread.
Declaration
Objective-C
- (BOOL)onFatalEvent:(NSString *)message;
Parameters
message
The message to log.
Return Value
True if the message should be shown by the SDK or false if it should be ignored.
-
Listener method that gets called when SDK want to log a fatal level event. This method can be called from any thread.
Declaration
Objective-C
- (BOOL)onFatalEventSwigExplicitNTLogEventListener:(NSString *)message;
Parameters
message
The message to log.
Return Value
True if the message should be shown by the SDK or false if it should be ignored.
-
Undocumented
Declaration
Objective-C
-(id)init;
-
Undocumented
Declaration
Objective-C
-(void)dealloc;