setLevel#

Logger.setLevel(level='DEBUG')[source]#

Change the log level of the object and the attached handlers.