code: function (msg, cat, logger) {
              if ('@DEBUG@') {
                  var matched = 1;
                  if (logger) {
                      var list, i, l, level, minLevel, maxLevel, reg;
                      cat = cat || 'debug';
                      level = loggerLevel[cat] || loggerLevel.debug;
                      if ((list = config.includes)) {
                          matched = 0;
                          for (i = 0; i < list.length; i++) {
                              l = list[i];
                              reg = l.logger;
                              maxLevel = loggerLevel[l.maxLevel] || loggerLevel.error;
                              minLevel = loggerLevel[l.minLevel] || loggerLevel.debug;
                              if (minLevel <= level && maxLevel >= level && logger.match(reg)) {
                                  matched = 1;
                                  break;
                              }
                          }
                      } else if ((list = config.excludes)) {
                          matched = 1;
                          for (i = 0; i < list.length; i++) {
                              l = list[i];
                              reg = l.logger;
                              maxLevel = loggerLevel[l.maxLevel] || loggerLevel.error;
                              minLevel = loggerLevel[l.minLevel] || loggerLevel.debug;
                              if (minLevel <= level && maxLevel >= level && logger.match(reg)) {
                                  matched = 0;
                                  break;
                              }
                          }
                      }
                      if (matched) {
                          msg = logger + ': ' + msg;
                      }
                  }
                  /*global console*/
                  if (matched) {
                      if (typeof console !== 'undefined' && console.log) {
                          console[cat && console[cat] ? cat : 'log'](msg);
                      }
                      return msg;
                  }
              }
              return undefined;
          }
docs: Prints debug info.
  @param msg {String} the message to log.
  @param {String} [cat] the log category for the message. Default
  categories are 'info', 'warn', 'error', 'time' etc.
  @param {String} [logger] the logger of the the message (opt)