Sip Endpoint SDK for Apple OS
|
#import <GSLogger.h>
Public Member Functions | |
(NSString *) | - getLogLevel |
(id< GSLogger >) | - createChildLogger: |
(id< GSLogger >) | - createChildLogger:logLevel: |
(void) | - logDebugMessage: |
(void) | - logDebugMessageWithFormat: |
(void) | - logInfoMessage: |
(void) | - logInfoMessageWithFormat: |
(void) | - logWarningMessage: |
(void) | - logWarningMessageWithFormat: |
(void) | - logErrorMessage: |
(void) | - logErrorMessageWithFormat: |
(void) | - logFatalErrorMessage: |
(void) | - logFatalErrorMessageWithFormat: |
(bool) | - isDebugEnabled |
(bool) | - isInfoEnabled |
(bool) | - isWarningEnabled |
(bool) | - isErrorEnabled |
(bool) | - isFatalErrorEnabled |
This protocol should be used to implement a logger object to be used by the SipEndpoint framework.
Definition at line 16 of file GSLogger.h.
- (id<GSLogger>) createChildLogger: | (NSString *) | loggerName |
Creates a child logger with the specified name.
the | child logger's name |
- (id<GSLogger>) createChildLogger: | (NSString *) | loggerName | |
logLevel: | (NSString *) | logLevel | |
Creates a child logger with the specified name.
the | child logger's name |
the | child logger's log level |
- (NSString*) getLogLevel |
- (bool) isDebugEnabled |
- (bool) isErrorEnabled |
- (bool) isFatalErrorEnabled |
- (bool) isInfoEnabled |
- (bool) isWarningEnabled |
- (void) logDebugMessage: | (NSString *) | message |
Logs the specified message with 'debug' priority.
message | the message |
- (void) logDebugMessageWithFormat: | (NSString *) | format | |
, | ... | ||
Logs the specified message with 'debug' priority.
format | message format |
... | a comma separated list of arguments to be inserted into format |
- (void) logErrorMessage: | (NSString *) | message |
Logs the specified message with 'error' priority.
message | the message |
- (void) logErrorMessageWithFormat: | (NSString *) | format | |
, | ... | ||
Logs the specified message with 'error' priority.
format | message format |
... | a comma separated list of arguments to be inserted into format |
- (void) logFatalErrorMessage: | (NSString *) | message |
Logs the specified message with 'fatal error' priority.
message | the message |
- (void) logFatalErrorMessageWithFormat: | (NSString *) | format | |
, | ... | ||
Logs the specified message with 'fatal error' priority.
format | message format |
... | a comma separated list of arguments to be inserted into format |
- (void) logInfoMessage: | (NSString *) | message |
Logs the specified message with 'info' priority.
message | the message |
- (void) logInfoMessageWithFormat: | (NSString *) | format | |
, | ... | ||
Logs the specified message with 'info' priority.
format | message format |
... | a comma separated list of arguments to be inserted into format |
- (void) logWarningMessage: | (NSString *) | message |
Logs the specified message with 'warning' priority.
message | the message |
- (void) logWarningMessageWithFormat: | (NSString *) | format | |
, | ... | ||
Logs the specified message with 'warning' priority.
format | message format |
... | a comma separated list of arguments to be inserted into format |