locopy.logger module

Logging Module.

Module which sets up the basic logging infrustrcuture for the application.

locopy.logger.get_logger(name=None, log_level=10)[source]

Set the basic logging features for the application.

Parameters:
  • name (str, optional) – The name of the logger. Defaults to None

  • log_level (int, optional) – The logging level. Defaults to logging.INFO

Returns:

Returns a Logger obejct which is set with the passed in paramters. Please see the following for more details: https://docs.python.org/2/library/logging.html

Return type:

logging.Logger