NewLoggingLevel 类

更改指定记录器的日志记录级别。

NewLoggingLevel 构造函数类。

构造函数

NewLoggingLevel(logger_name, level=30)

参数

名称 说明
logger_name
必需
str

将更改其级别的记录器。

level
int

新的日志记录级别。

默认值: 30
logger_name
必需
str

将更改其级别的记录器。

level
必需
int

新的日志记录级别。