Skip to content

Commit

Permalink
_
Browse files Browse the repository at this point in the history
  • Loading branch information
xtsea authored Aug 30, 2024
1 parent 7adf06b commit 8609bf7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions RyuzakiLib/fastapi.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
from functools import wraps

from authlib.integrations.starlette_client import OAuth
Expand All @@ -24,6 +25,12 @@ def __init__(
def client_db(self):
return self.mongodb

def logger(self):
logging.basicConfig(level=logging.ERROR)
logging.basicConfig(level=logging.INFO)
LOGS = logging.getLogger("[akeno]")
return LOGS

def auth_register(
self,
auth0_client_id=None,
Expand Down

0 comments on commit 8609bf7

Please sign in to comment.