SQLiteHandler icon indicating copy to clipboard operation
SQLiteHandler copied to clipboard

SQLite handler for python logging. Allow to write log messages to sqlite database. Tested on python 3.2

SQLite handler

SQLite handler allow your application to write log messages directly to sqlite database.

Usage

logger = logging.getLogger('LoggerName')
logger.setLevel(logging.DEBUG)
logger.addHandler(SQLiteHandler('debug_log.sqlite'))
logger.debug('Debug message')