SIP Endpoint SDK for OS X
|
#import <GSDefaultLogger.h>
Public Member Functions | |
(id) | - initWithName:logLevel:logType: |
![]() | |
(void) | - logDebugMessage: |
(void) | - logDebugMessageWithFormat: |
(void) | - logInfoMessage: |
(void) | - logInfoMessageWithFormat: |
(void) | - logWarningMessage: |
(void) | - logWarningMessageWithFormat: |
(void) | - logErrorMessage: |
(void) | - logErrorMessageWithFormat: |
(void) | - logFatalErrorMessage: |
(void) | - logFatalErrorMessageWithFormat: |
Properties | |
int | logType |
NSString * | logName |
NSString * | logLevel |
int | logLevelInt |
gs_log_func | logMessageCb |
![]() |
A default implementation of the GSLogger protocol. This class uses "NSLog" or "gsept_logprint" to log all messages.
Definition at line 17 of file GSDefaultLogger.h.
- (id) initWithName: | (NSString *) | name | |
logLevel: | (NSString *) | logLevel | |
logType: | (int) | logType | |
Initializes an instances of the logger with the specified name.
name | the name for this logger instance |
logLevel | the string value of log level: word or number debug (4); info (3); warn (2); error (1); fatal (0) |
|
readwritenonatomicretain |
Reimplemented from <GSLogger>.
Definition at line 21 of file GSDefaultLogger.h.
|
readwritenonatomicassign |
Reimplemented from <GSLogger>.
Definition at line 22 of file GSDefaultLogger.h.
|
readwritenonatomicassign |
Reimplemented from <GSLogger>.
Definition at line 23 of file GSDefaultLogger.h.
|
readwritenonatomicretain |
|
readwritenonatomicassign |
The name of this logger instance.
Reimplemented from <GSLogger>.
Definition at line 19 of file GSDefaultLogger.h.