SIP Endpoint SDK for OS X
 All Classes Functions Properties
<GSLogger> Protocol Reference

#import <GSLogger.h>

Inheritance diagram for <GSLogger>:
GSDefaultLogger

List of all members.

Public Member Functions

(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

Detailed Description

This protocol should be used to implement a logger object to be used by the SipEndpoint framework.

Definition at line 15 of file GSLogger.h.


Member Function Documentation

- (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

Property Documentation

- (NSString*) logLevel
readwritenonatomicretain
Returns:
a Log Level as NSString

Reimplemented in GSDefaultLogger.

Definition at line 30 of file GSLogger.h.

- (int) logLevelInt
readwritenonatomicassign
Returns:
a Log Level as Integer

Reimplemented in GSDefaultLogger.

Definition at line 35 of file GSLogger.h.

- (gs_log_func) logMessageCb
readwritenonatomicassign
Returns:
a pointer to gs_log_func callback

Reimplemented in GSDefaultLogger.

Definition at line 40 of file GSLogger.h.

- (NSString*) logName
readwritenonatomicretain
Returns:
a Log Name

Reimplemented in GSDefaultLogger.

Definition at line 25 of file GSLogger.h.

- (int) logType
readwritenonatomicassign
Returns:
a Log Type

Reimplemented in GSDefaultLogger.

Definition at line 20 of file GSLogger.h.


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