A database log writer for Kohana