new - loglevel (#612)

This commit is contained in:
Ho3ein
2023-06-16 18:25:33 +03:30
committed by GitHub
parent 97925eeebe
commit 5188d516e3
10 changed files with 50 additions and 20 deletions

View File

@@ -27,6 +27,8 @@ func runWebServer() {
logger.InitLogger(logging.DEBUG)
case config.Info:
logger.InitLogger(logging.INFO)
case config.Notice:
logger.InitLogger(logging.NOTICE)
case config.Warn:
logger.InitLogger(logging.WARNING)
case config.Error: