ECLogger
Abstract
Instance configured and created by ECLoggingConfiguration and
which implements the logging
Methods
- -critical:
- If enabled, this mehod writes a message of level critical
- -debug:
- If enabled, this mehtod writes a message of level debug
- -error:
- If enabled, this mehtod writes a message of level error
- -fatal:
- This mehod writes a message of level fatal
- -info:
- If enabled, this mehtod writes a message of level info
- -initWithLoggingLevel
- Called from ECLoggingConfiguration
- -initWithLoggingLevel:withLoggingFormatter:withLoggingWriter:
- Called from ECLoggingConfiguration
- -isCriticalEnabled
- -isDebugEnabled
- -isErrorEnabled
- -isInfoEnabled
- -isTraceEnabled
- -isWanrEnabled
- -isWarnEnabled
- -logUsingLevel
- internal method which performs the logging
- -logUsingLevel:withMessage:withArguments:
- internal method which performs the logging
- -trace:
- If enabled, this mehtod writes a message of level trace
- -warn:
- If enabled, this mehtod writes a message of level warning
If enabled, this mehod writes a message of level critical
- critical: (NSString *) format, ...;
Parameter Descriptions
format
- string format to use
- method result
- self
If enabled, this mehtod writes a message of level debug
- debug: (NSString *) format, ...;
Parameter Descriptions
format
- string format to use
- method result
- self
If enabled, this mehtod writes a message of level error
- error: (NSString *) format, ...;
Parameter Descriptions
format
- string format to use
- method result
- self
This mehod writes a message of level fatal
- fatal: (NSString *) format, ...;
Parameter Descriptions
format
- string format to use
- method result
- self
If enabled, this mehtod writes a message of level info
- info: (NSString *) format, ...;
Parameter Descriptions
format
- string format to use
- method result
- self
Called from ECLoggingConfiguration
See Also:
- initWithLoggingLevel:withLoggingFormatter:withLoggingWriter:
- initWithLoggingLevel: (ECLoggingLevel) aLoggingLevel withLoggingFormatter: (id <ECLoggingFormatter>) aLoggingFormatter withLoggingWriter: (id <ECLoggingWriter>) aLoggingWriter;
Parameter Descriptions
aLoggingLevel
- logging level to use
aLoggingFormatter
- instance used to format the output
- method result
- self
Called from ECLoggingConfiguration
See Also:
- initWithLoggingLevel
- initWithLoggingLevel: (ECLoggingLevel) aLoggingLevel withLoggingFormatter: (id <ECLoggingFormatter>) aLoggingFormatter withLoggingWriter: (id <ECLoggingWriter>) aLoggingWriter;
Parameter Descriptions
aLoggingLevel
- logging level to use
aLoggingFormatter
- instance used to format the output
- (BOOL) isCriticalEnabled;
- method result
- YES if critical level is being used (at least)
- (BOOL) isDebugEnabled;
- method result
- YES if debug level is being used
- (BOOL) isErrorEnabled;
- method result
- YES if error level is being used (at least)
- (BOOL) isInfoEnabled;
- method result
- YES if info level is being used (at least)
- (BOOL) isTraceEnabled;
- method result
- YES if trace level is being used (at least)
See Also:
- isWarnEnabled
- (BOOL) isWarnEnabled;
- method result
- YES if warning level is being used (at least)
See Also:
- isWanrEnabled
- (BOOL) isWarnEnabled;
internal method which performs the logging
See Also:
- logUsingLevel:withMessage:withArguments:
- logUsingLevel: (ECLoggingLevel) aLevel withMessage: (NSString *) aMsg withArguments: (va_list) args;
Parameter Descriptions
aLevel
- Level at which to log. Caller must ensure that this level
is valid/activated
aMsg
- user-defined message
args
- parameters for user-defined message
- method result
- self
internal method which performs the logging
See Also:
- logUsingLevel
- logUsingLevel: (ECLoggingLevel) aLevel withMessage: (NSString *) aMsg withArguments: (va_list) args;
Parameter Descriptions
aLevel
- Level at which to log. Caller must ensure that this level
is valid/activated
aMsg
- user-defined message
args
- parameters for user-defined message
If enabled, this mehtod writes a message of level trace
- trace: (NSString *) format, ...;
Parameter Descriptions
format
- string format to use
- method result
- self
If enabled, this mehtod writes a message of level warning
- warn: (NSString *) format, ...;
Parameter Descriptions
format
- string format to use
- method result
- self
(Last Updated November 08, 2007)