levels= ['CRITICAL', 'WARNING', 'INFO']¶
write(level, line, nick=None, location=None)¶
Write out to the logfile of either default location or otherwise specified. Includes calling class in its logged line.
Args: level: enumerated thing from the logger class. line: string. thing to write out to the logger. nick: string. determines filename. location: where to write the logfile out to.