This commit is contained in:
Dan Chen
2024-04-30 16:21:17 +08:00
committed by superobk
parent 032f6cb35a
commit 884a835cae
4 changed files with 30 additions and 8 deletions

View File

@ -53,3 +53,10 @@ class MeloConf():
@inject
def __init__(self, config: Configuration) -> None:
self.melotts = config.get("melotts.url")
class LogConf():
level: str
@inject
def __init__(self,config: Configuration) -> None:
self.level = config.get("log.level")