deluge.log

Logging functions

deluge.log.setLoggerLevel(level)

Sets the logger level.

Parameter:level – str, a string representing the desired level
deluge.log.setupLogger(level='error', filename=None, filemode='w')

Sets up the basic logger and if :param:filename is set, then it will log to that file instead of stdout.

Parameters:
  • level – str, the level to log
  • filename – str, the file to log to

Previous topic

deluge.httpdownloader

Next topic

deluge.main

This Page