Source code for SST2

"""SST2 module."""

#!/usr/bin/env python3
# coding: utf-8

import sys
import logging

# Autorship information
__author__ = "Samuel Murail"
__copyright__ = "Copyright 2024, RPBS"
__credits__ = ["Samuel Murail"]
__license__ = "GNU General Public License v2.0"
__version__ = "0.0.1"
__maintainer__ = "Samuel Murail"
__email__ = "samuel.murail@u-paris.fr"
__status__ = "Beta"

# Logging
logger = logging.getLogger(__name__)


[docs] def show_log(): logger.setLevel(logging.INFO) if not logger.hasHandlers(): handler = logging.StreamHandler(sys.stdout) handler.setLevel(logging.INFO) formatter = logging.Formatter("%(name)s - %(levelname)s - %(message)s") handler.setFormatter(formatter) logger.addHandler(handler)