What I´m doing in the standalone promises module is defining a `Promise._log(message, type)` function that in the YUI version I overwrite with `Y.log`.