ECLoggingConfiguration
Abstract
An ECLoggingConfiguration groups
- logging level
- logging formatter
- logging writer
and has a name assigned to itself.
Methods
- -logger
- After complete initialization of this instance this method
may be called in order to get a corresponding ECLogger instance which is
ready for logging then.
- -loggingFormatter
- -loggingWriter
- -setLoggingFormatter:
- sets the logging formatter. The default logging
formatter
is being used until this
method is called
- -setLoggingLevel:
- Used to specify the level used for logging
- -setLoggingWriter:
- A logging writer is used to output the log entries which have
been previously formatted. This method is used to set the corresponding
instance.
After complete initialization of this instance this method
may be called in order to get a corresponding ECLogger instance which is
ready for logging then.
- (ECLogger *) logger;
- method result
- ECLogger instance which may be used for logging
- (id <ECLoggingFormatter>) loggingFormatter;
- method result
- returns the currently set logging formatter
- (id <ECLoggingWriter>) loggingWriter;
- method result
- the loggingWriter currently being used
sets the logging formatter. The default logging
formatter
is being used until this
method is called
- setLoggingFormatter: (id <ECLoggingFormatter>) aLogingFormatter;
Parameter Descriptions
aLogingFormatter
- logging formatter to use
- method result
- self
Used to specify the level used for logging
- setLoggingLevel: (NSString *) level;
Parameter Descriptions
level
- may only be equal to one of the following values
(case-insensitive):
- DEBUG
- INFO
- TRACE
- WARN
- ERROR
- CRITICAL
- FATAL
- method result
- self
A logging writer is used to output the log entries which have
been previously formatted. This method is used to set the corresponding
instance.
- setLoggingWriter: (id <ECLoggingWriter>) aLoggingWriter;
Parameter Descriptions
aLoggingWriter
- loggingWriter to use
- method result
- self
(Last Updated November 08, 2007)