NewLoggingLevel Class

Changes the logging level for a specified logger.

Class NewLoggingLevel constructor.

Inheritance
builtins.object
NewLoggingLevel

Constructor

NewLoggingLevel(logger_name, level=30)

Parameters

Name Description
logger_name
Required
str

The logger whose level will be changed.

level
int

The new logging level.

Default value: 30
logger_name
Required
str

The logger whose level will be changed.

level
Required
int

The new logging level.