Set console.log in getAxiosLogerConfig() as logger explicitly. When a project is overriding console.log (e.g. to write the logs into a file), axiosLogger will still use the old (normal) console.log method, since it has it saved in a variable.
With this change we give always the current definition of console.log to the logger.
Set console.log in getAxiosLogerConfig() as logger explicitly. When a project is overriding console.log (e.g. to write the logs into a file), axiosLogger will still use the old (normal) console.log method, since it has it saved in a variable. With this change we give always the current definition of console.log to the logger.