Basic file and console logger.