view love/poppy/utils/logger.py @ 134:75e7aac67fa2 websocket-blog

Closing blog branch since it is written
author June Park <parkjune1995@gmail.com>
date Fri, 09 Jan 2026 09:30:30 -0800
parents cf9caa4abc3e
children
line wrap: on
line source

import logging

logging.basicConfig(
    level=logging.INFO,
    format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
)

logger = logging.getLogger(__name__)