Added mock writer for Logger