LoggingΒΆ

pyroSAR makes use of the logging module to display status messages for running processes. See Logging HOWTO for a basic tutorial. To display log messages you may add one of the following examples to your script:

import logging

# basic info
logging.basicConfig(level=logging.INFO)

# basic info with some message filtering
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.INFO)

# detailed debug info
logging.basicConfig(level=logging.DEBUG)