Logger

Submodules

mischbares.logger.logger module

defining the logger

mischbares.logger.logger.get_logger(module_name)[source]

Returns a logger with the name of the module calling this function :param module_name: name of the module calling this function :type module_name: str

Returns

logger with the name of the module calling this function

Return type

logging.Logger

mischbares.logger.logger.setup_applevel_logger(logger_name='MISCHBARES', file_name=None)[source]

Sets up the app level logger :param logger_name: Logger name. Defaults to APP_LOGGER_NAME. :type logger_name: str, optional :param file_name: file name. Defaults to None. :type file_name: str, optional

Returns

app level logger

Return type

logger.Logger

Module contents