Arcana Logger
Submodules
arcana.logger.logger module
This module defines the logger for our application. The file is a adopted copy of the file from MADAP project by Fuzhan Rahmanian. cite: https://github.com/fuzhanrahmanian/MADAP
- arcana.logger.logger.get_logger(module_name)
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:
logging.Logger – logger with the name of the module calling this function
- arcana.logger.logger.setup_applevel_logger(logger_name='ARCANA', file_name=None)
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:
logger.Logger – app level logger