puffinlogging (version 0.8.8, 30 April 2002)
index
c:\work\puffin\puffinlogging.py

This is the puffin logging module. It is basically an extended, puffin-specific wrapper
for Vinay Sajip's log4j-like logging module.

 
Modules
            
logging
sys
 
Classes
            
ChannelFactory
 
class ChannelFactory
      This logging channel factory class will generate a fully populated logging channel 
and send it back to the caller. It has only the single method getLoggingChannel().
 
   Methods defined here:
_ChannelFactory__createChannel = __createChannel(self, channelName, defaultPriority, overridePriority=None)
Instantiate the channel and set its priority.
 
Keyword Arguments:
channelName -- The name of the logging channel to create.
defaultPriority -- The priority from the config file, if one exists (WARN otherwise).
overridePriority -- The override priority for the framework logging if the user
    submits one on the command line using the --logging command line argument.
_ChannelFactory__getChannelPriority = __getChannelPriority(self, loggingNodeList=None)
Get the default logging priority from the logging node or use a default of WARN.
 
Keyword Argument:
loggingNodeList -- The list of nodes for this logging configuration.
_ChannelFactory__getHandlerList = __getHandlerList(self, loggingChannelNodeList=None)
Generate a list of logging handlers.
 
Keyword Arguments:
loggingChannelNodeList -- The list of nodes for the logging config data for this
    logger.
getLoggingChannel(self, puffinConfigDOM, channelType, overridePriority=None)
This is the main logging creation method. It grabs the right xml node from the 
puffin config file and from it generates a logging channel.
 
Keyword Arguments:
puffinConfigDOM -- The complete puffin configuration file DOM.
channelType -- A constant string (from above) for exactly which type of channel 
    to create.
getPriorityInt(self, priorityString)
Generate the logging priority.
 
Keyword Arguments:
priorityString -- The name of the priority ('WARN' for example).

Data and non-method functions defined here:
__doc__ = 'This logging channel factory class will generat... has only the single method getLoggingChannel().'
__module__ = 'puffinlogging'
 
Data
             FAILUREALERTLOGGING = 'failureAlertLogging'
FRAMEWORKLOGGING = 'frameworkLogging'
REPORTLOGGING = 'reportLogging'
__author__ = 'Keyton Weissinger '
__date__ = '30 April 2002'
__file__ = '.\\puffinlogging.pyc'
__name__ = 'puffinlogging'
__status__ = 'beta'
__version__ = '0.8.8'
failureAlertLoggingChannel = <logging.Logger instance at 0x009A57B0>
frameworkLoggingChannel = <logging.Logger instance at 0x00BD7D80>
loggingChannelFactory = <puffinlogging.ChannelFactory instance at 0x0084A968>
overridePriority = None
puffinArgsList = []
puffinConfigFile = 'puffinConfig.xml'
reportLoggingChannel = <logging.Logger instance at 0x009A5460>
 
Author
             Keyton Weissinger <keyton@weissinger.org>