kiwi

API Documentation

 1"""
 2API Documentation
 3"""
 4import logging
 5
 6from kiwi.logger import Logger
 7
 8# Initialize custom logger class for kiwi
 9logging.setLoggerClass(Logger)
10
11# Set the highest log level possible as the default log level
12# in the main Logger class. This is needed to allow any logfile
13# handler to log all messages by default and to allow custom log
14# levels per handler. Our own implementation in Logger::setLogLevel
15# will then set the log level on a handler basis
16logging.getLogger('kiwi').setLevel(logging.DEBUG)