Module ai.utils.pylogging

Module for performing console logging. This module wraps the builtin logging module.

Expand source code
"""Module for performing console logging. This module wraps the builtin `logging`
module."""


from ._get_logger import get_logger


__all__ = ["get_logger"]

Functions

def get_logger(name: str)
Expand source code
def get_logger(name: str):
    logging.basicConfig(level=logging.INFO)
    logger =  logging.getLogger(name)
    return logger