MCPcopy Create free account
hub / github.com/EASY233/Finger / LoggingLevel

Class LoggingLevel

config/log.py:11–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10# 设置日志等级
11class LoggingLevel:
12 SUCCESS = 9
13 SYSINFO = 8
14 ERROR = 7
15 WARNING = 6
16
17logging.addLevelName(LoggingLevel.SUCCESS, color.cyan("[+]"))
18logging.addLevelName(LoggingLevel.SYSINFO, color.green("[INFO]"))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected