code: function configure(options) {
      var extend = require('saber-lang').extend;
      options = extend({}, options);
  
      if (options.level) {
          config.levels['[all]'] = options.level;
          delete options.level;
      }
  
      var hasConsole;
      if (options.console) {
          hasConsole = true;
          delete options.console;
      }
  
      appAppender = extend(appAppender, options);
      appAppender.category = CATE_NORMAL;
      config.appenders[0] = appAppender;
  
      // 同步fileSync的filename与layout
      var appender = config.appenders[1];
      appender.filename = appAppender.filename;
      appender.layout = appAppender.layout;
  
      if (hasConsole) {
          attachConsole(appAppender);
      }
  }
docs: 全局参数配置
  
  @inner
  @param {Object} options 配置参数
  @param {string=} options.type 日志文件类型
  @param {string=} options.filename 日志文件名
  @param {string=} options.pattern 日志文件命名方式
  @param {Object=} options.layout 日志输出格式
  @param {boolean=} options.console 启用console日志