<commit_before><commit_msg>add a logging Wrapper for Resource Filter<commit_after>package railo.commons.io.res.filter;

import railo.aprint;
import railo.commons.io.res.Resource;

public class LogResourceFilter implements ResourceFilter {
	
	private ResourceFilter filter;

	public LogResourceFilter(ResourceFilter filter){
		this.filter=filter;
	}

	@Override
	public boolean accept(Resource res) {
		boolean rtn = filter.accept(res);
		aprint.o("accept:"+res+"->"+rtn);
		return rtn;
	}

}
{'fraction_non_alphanumeric': 0.1079429735234216, 'fraction_numerical': 0.0, 'mean_word_length': 5.56, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '832351', 'n_tokens_mistral': 162, 'n_tokens_neox': 153, 'n_words': 35}