A database log writer for Kohana 3