Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 584 Bytes

logging.rst

File metadata and controls

20 lines (14 loc) · 584 Bytes

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)