8.4.2.44. setLevelΒΆ

_Logger.setLevel(level)[source]

Set the logging level of this logger. level must be an int or a str.