Source code for script_logging.standard_logging
'''
----------------
script_logging.standard_logging
----------------
This module contains a set of commands that initialize
:py:class:`logging.Logger` objects with standard sets of pre-defined
options. The idea here is that I have a standard basic logger with set suite
of information logged as a header to the logfile. IN addition then, I can also
have a 'cluster logger' with a set of pre-defined cluster oriented logging
options that can be added to the standard logger for scripts that need
cluster support, etc etc
.. moduleauthor:: Nick Schurch <nschurch@dundee.ac.uk>
:module_version: 1.0
:created_on: 2013-04-09
'''
__version__ = "1.0"
import logging
[docs]def standard_logger():
''' Set up a logger with a standard set of options and an automatic header.
'''
pass