locopy.logger module

Logging Module Module which setsup the basic logging infrustrcuture for the application

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

Sets the basic logging features for the application :param name: The name of the logger. Defaults to None :type name: str, optional :param log_level: The logging level. Defaults to logging.INFO :type log_level: int, optional

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