"""Main entry point for <<project_name>>."""

from core.settings import settings
from loggers import get_logger, init_logging

# 启动时初始化日志系统一次 (initialize logging once at startup)
init_logging(settings.log)
logger = get_logger(__name__)


def main() -> None:
    """Main function."""
    logger.info(
        "starting application",
        project=settings.project_name,
        version=settings.version,
    )

    # Your application logic here
    logger.info("application running successfully")


if __name__ == "__main__":
    main()
