logger

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
from tools import Logger


def main() -> None:
    """Sample function."""
    logger = Logger(__name__)
    logger.info("Hello, World!")


if __name__ == "__main__":
    main()

Note

1
2038-01-19 03:14:07,000 | INFO     | __main__:main:7 - Hello, World!