# Logging¶

This package uses the standard logging module. To use it, we simply have to acquire the logger.

import shamo
import logging

logger = logging.getLogger("shamo")


Then we can configure it anyway we want. To display the output in a jupyter notebook, we can for instance use:

import sys

stream_handler = logging.StreamHandler(sys.stdout)
stream_handler.setFormatter(logging.Formatter("[%(levelname)s] %(message)s"))