main.py
from flask import Flask
from logging import basicConfig, INFO
app = Flask(__name__)
basicConfig(level=INFO)
from logging import getLogger
logger = getLogger(__name__)
def sample_method:
logger.info('Hey.')
Recommended Posts