Sip Endpoint SDK for Apple OS
 All Classes Functions Properties
<GSLogger> Protocol Reference

#import <GSLogger.h>

Inheritance diagram for <GSLogger>:
GSDefaultLogger

List of all members.

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

Detailed Description

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.


Member Function Documentation

- (id<GSLogger>) createChildLogger: (NSString *)  loggerName

Creates a child logger with the specified name.

Parameters:
thechild logger's name
Returns:
the child logger instance
- (id<GSLogger>) createChildLogger: (NSString *)  loggerName
logLevel: (NSString *)  logLevel 

Creates a child logger with the specified name.

Parameters:
thechild logger's name
thechild logger's log level
Returns:
the child logger instance
- (NSString*) getLogLevel
Returns:
a Log Level
- (bool) isDebugEnabled
Returns:
YES if debug priority logging is enabled, NO otherwise
- (bool) isErrorEnabled
Returns:
YES if error priority logging is enabled, NO otherwise
- (bool) isFatalErrorEnabled
Returns:
YES if fatal error priority logging is enabled, NO otherwise
- (bool) isInfoEnabled
Returns:
YES if info priority logging is enabled, NO otherwise
- (bool) isWarningEnabled
Returns:
YES if warning priority logging is enabled, NO otherwise
- (void) logDebugMessage: (NSString *)  message

Logs the specified message with 'debug' priority.

Parameters:
messagethe message
- (void) logDebugMessageWithFormat: (NSString *)  format
,   ... 

Logs the specified message with 'debug' priority.

Parameters:
formatmessage format
...a comma separated list of arguments to be inserted into format
- (void) logErrorMessage: (NSString *)  message

Logs the specified message with 'error' priority.

Parameters:
messagethe message
- (void) logErrorMessageWithFormat: (NSString *)  format
,   ... 

Logs the specified message with 'error' priority.

Parameters:
formatmessage format
...a comma separated list of arguments to be inserted into format
- (void) logFatalErrorMessage: (NSString *)  message

Logs the specified message with 'fatal error' priority.

Parameters:
messagethe message
- (void) logFatalErrorMessageWithFormat: (NSString *)  format
,   ... 

Logs the specified message with 'fatal error' priority.

Parameters:
formatmessage format
...a comma separated list of arguments to be inserted into format
- (void) logInfoMessage: (NSString *)  message

Logs the specified message with 'info' priority.

Parameters:
messagethe message
- (void) logInfoMessageWithFormat: (NSString *)  format
,   ... 

Logs the specified message with 'info' priority.

Parameters:
formatmessage format
...a comma separated list of arguments to be inserted into format
- (void) logWarningMessage: (NSString *)  message

Logs the specified message with 'warning' priority.

Parameters:
messagethe message
- (void) logWarningMessageWithFormat: (NSString *)  format
,   ... 

Logs the specified message with 'warning' priority.

Parameters:
formatmessage format
...a comma separated list of arguments to be inserted into format

The documentation for this protocol was generated from the following file: