Logging

The mexca package includes logging messages using the logging module. By default, messages on the INFO level and above are displayed in the console when calling Pipeline.apply(). This can be disabled with setting show_progress=False.

Printing DEBUG messages in the console can be enabled by including the following code at the beginning of a script:

import logging

logger = logging.getLogger('mexca')
logger.setLevel(logging.DEBUG)

Writing DEBUG messges to a log file might be more convenient and can be done via:

import logging

logging.basicConfig(filename='mexca.log', encoding='utf-8', level=logging.DEBUG)