Added logging in development mode (fixes #28).