code: function (smth) {
              if (typeof debug !== "undefined") {
                  debug(smth);
              } else if (global.console && global.console.log) {
                  global.console.log(smth);
              }
          }
docs: plain log