code: function createMethod(category, method) {
      return function () {
          var args = Array.prototype.slice.call(arguments);
          var logger = log4js.getLogger(category);
  
          return logger[method].apply(logger, args);
      };
  }
docs: 创建日志方法
  
  @inner
  @param {string} category logger分类
  @param {string} method 方法名
  @return {Function}