#import <GSDefaultLogger.h>
List of all members.
Properties |
| NSString * | name |
|
NSString * | logFile |
|
NSString * | logLevel |
|
bool | isDebugLevel |
|
bool | isInfoLevel |
|
bool | isWarningLevel |
|
bool | isErrorLevel |
|
bool | isFatalErrorLevel |
Detailed Description
A default implementation of the GSLogger protocol. This class uses "NSLog" to log all messages.
- See also:
- GSLogger
Definition at line 18 of file GSDefaultLogger.h.
Member Function Documentation
| - (id) initWithName: |
|
(NSString *) |
name |
|
Initializes an instances of the logger with the specified name.
- Parameters:
-
| name | the name for this logger instance |
- Returns:
- an instance of the logger or nil if the initialization is not successful.
| - (id) initWithName: |
|
(NSString *) |
name |
| logFile: |
|
(NSString *) |
file |
| logLevel: |
|
(NSString *) |
logLevel |
|
|
| |
Initializes an instances of the logger with the specified name and logfile.
- Parameters:
-
| name | the name for this logger instance |
| file | the log file name and path |
| logLevel | the value of the log level: debug; info; warn; error; fatal |
- Returns:
- an instance of the logger or nil if the initialization is not successful.
| - (id) initWithName: |
|
(NSString *) |
name |
| logLevel: |
|
(NSString *) |
logLevel |
|
|
| |
Initializes an instances of the logger with the specified name.
- Parameters:
-
| name | the name for this logger instance |
| logLevel | the value of log level: debug; info; warn; error; fatal |
- Returns:
- an instance of the logger or nil if the initialization is not successful.
| - (BOOL) setupEnabledLogLevels: |
|
(NSString *) |
logLevel |
|
Assign properties: isDebugLevel, isInfoLevel, isWarningLevel, isErrorLevel, isFatalErrorLevel to YES or NO depends on logLevel
- Parameters:
-
| logLevel | the value of log level: debug; info; warn; error; fatal |
Property Documentation
The documentation for this class was generated from the following file:
- /Users/valery/Projects/SipEpSdk-12.06.12/endpoint/MacOS/Endpoint/Src/Headers/GSDefaultLogger.h