2.1.3.1.2. sf_tools.interface.log module

LOGGING ROUTINES

This module contains methods for handing logging.

Author:Samuel Farrens <samuel.farrens@gmail.com>
Version:1.2
Date:20/10/2017
sf_tools.interface.log.set_up_log(filename, verbose=True)[source]

Set up log

This method sets up a basic log.

Parameters:filename (str) – Log file name
Returns:
Return type:logging.Logger instance
sf_tools.interface.log.close_log(log, verbose=True)[source]

Close log

This method closes and active logging.Logger instance.

Parameters:log (logging.Logger) – Logging instance