天问 7d48c32932 Update 'README.md' | 9 months ago | |
---|---|---|
README.md | 9 months ago |
import logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
def main() -> None:
logger.info("Initializing service")
logger.info("Service finished initializing")
if __name__ == "__main__":
main()