code: public static AttachLogFilter attach(Filter<ILoggingEvent> filter, String configKey) {
          return new AttachLogFilter(filter, configKey);
      }
docs: Create an attach log filter
  @param filter the filter to attach
  @param configKey the config key to see if this filter is enabled
  @return the attach log filter object