function debug(a, b, c, d) {
        let arr = ["\x1b[36m[apicache]\x1b[0m", a, b, c, d].filter(function (arg) {
            return arg !== undefined;
        });
        let debugEnv = process.env.DEBUG && process.env.DEBUG.split(",").indexOf("apicache") !== -1;

        return (globalOptions.debug || debugEnv) && console.log.apply(null, arr);
    }
Logs a message to the console if the `DEBUG` environment variable is set.
@param {string} a The first argument to log.
@param {string} b The second argument to log.
@param {string} c The third argument to log.
@param {string} d The fourth argument to log, and so on... (optional)

Generated by Trelent