setLevel#

Logger.setLevel(level='DEBUG')#

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