The LogConfiguration keeps everything together. It contains
all logger, channels, filter, pipes and log-generator for one particular
configuration. The LogManager keeps a list of several
log configurations.
author: Andreas Mecky author: Terry Dye
This method adds a channel to the configuration. This
channel is stored with the given name as key. It is
not possible to add two channels with the same name.
The second one will overwrite the first one.
Parameters: channel - the channel to add
This method adds a LogGenerator to the configuration.
The name of the LogGenerator is the key. It is not
possible to add two LogGenerator with the same name.
The second one will overwrite the first one.
Parameters: lg - the LogGenerator that will be added
This method adds a logger to this configuration with
the name of the logger. The name of the logger is used
as key so it is not possible to add two loggers with the
same name. The second one will overwrite the first one.
Parameters: l - the logger that will be added
This method returns a channel with the given name from this configuration.
Parameters: name - the name of the channel the specific channel or NULL if the channel is not inside the configuration
This method returns a LogGenerator with the given name
or NULL if the log generator is not in this configuration.
Parameters: name - the name of the log generator the log generator
This method returns a logger from this configuration
with the specific name. This method will try to search
for a matching logger using the findLoggerName method.
Parameters: name - the name of the logger the particular logger or a matching logger or NULL if not found