setup_logging
- lstchain.high_level.significance_calculation.setup_logging(verbosity=1)
Setup logger console and file descriptors
Two log stream handlers are added, one for file-based logging and one for console output. Logging level to file is always set to DEBUG and console verbosity can be controlled. Verbosity levels {0,1,2} correspond to {ERROR, INFO, DEBUG}.
- Parameters:
verbosity (int) – Verbosity level used for console output