<commit_before>package gov.nih.nci.evs.searchlog;

import org.apache.log4j.Level;

public class SearchLevel extends Level {

	private static final long serialVersionUID = 1L;
	
	// High enough so only SL events get logged in the file
	public static final int SEARCH_LOG_INT = FATAL_INT + 1000; 
	public static final SearchLevel SEARCH_LOG_LEVEL = new SearchLevel(SEARCH_LOG_INT,"SEARCH",7);
	
	protected SearchLevel(int level, String levelStr, int syslogEquivalent) {
		super(level, levelStr, syslogEquivalent);
	}

    public static SearchLevel toLevel(String sArg) {
    	return SEARCH_LOG_LEVEL;
    }
	
    public static SearchLevel toLevel(int val) {
    	return SEARCH_LOG_LEVEL;
    }    

    public static Level toLevel(int val, Level defaultLevel) {
    	return SEARCH_LOG_LEVEL;
    }   
    
}<commit_msg>Reformatted this page for readability.<commit_after>package gov.nih.nci.evs.searchlog;

import org.apache.log4j.Level;

public class SearchLevel extends Level {

  private static final long serialVersionUID = 1L;

  // High enough so only SL events get logged in the file
  public static final int SEARCH_LOG_INT = FATAL_INT + 1000;
  public static final SearchLevel SEARCH_LOG_LEVEL = new SearchLevel(SEARCH_LOG_INT, "SEARCH", 7);

  protected SearchLevel(int level, String levelStr, int syslogEquivalent) {
    super(level, levelStr, syslogEquivalent);
  }

  public static SearchLevel toLevel(String sArg) {
    return SEARCH_LOG_LEVEL;
  }

  public static SearchLevel toLevel(int val) {
    return SEARCH_LOG_LEVEL;
  }

  public static Level toLevel(int val, Level defaultLevel) {
    return SEARCH_LOG_LEVEL;
  }

}
{'fraction_non_alphanumeric': 0.06894447834045149, 'fraction_numerical': 0.008541793776693106, 'mean_word_length': 4.125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3229941', 'n_tokens_mistral': 533, 'n_tokens_neox': 501, 'n_words': 152}