'Set the debug output level.
A value of 0 means no debug logging. A value of 1 means all interaction
with the server is logged except that long lines are truncated to 100
characters and AUTH messages are censored. A value of 2 or higher means
the complete session is logged.'

def set_debuglevel(self, debuglevel):

    self.debuglevel = debuglevel
