Update config extend to allow custom logger

This allows using a `config.js` file with a custom logging function defined.