FastAPI-app
FastAPI-app copied to clipboard
Point of `AppLogger`?
Why do logger = utils.AppLogger.__call__().get_logger()? This could be logger = utils.AppLogger().get_logger(), or maybe even easier, just logger = logging.getLogger(__name__). Am I missing something?
you're right, the .__call__ part is redundant