@@ -0,0 +1,1516 @@
+/*%0A * Licensed to the Apache Software Foundation (ASF) under one or more%0A * contributor license agreements. See the NOTICE file distributed with%0A * this work for additional information regarding copyright ownership.%0A * The ASF licenses this file to You under the Apache license, Version 2.0%0A * (the %22License%22); you may not use this file except in compliance with%0A * the License. You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the license for the specific language governing permissions and%0A * limitations under the license.%0A */%0Apackage org.apache.logging.log4j.jdk;%0A%0Aimport java.util.logging.Level;%0A%0A/**%0A * Custom JUL Level for unit tests.%0A */%0Apublic class CustomJdkLevel extends Level %7B%0A%0A    private static final long serialVersionUID = 4681718777617726164L;%0A%0A    protected CustomJdkLevel(final String name, final int value) %7B%0A        super(name, value);%0A    %7D%0A%0A    // inside CONFIG range; should map to INFO%0A    public static final Level TEST = new CustomJdkLevel(%22TEST%22, 600);%0A%0A    // just 1 below Level.SEVERE; should map to ERROR%0A    public static final Level DEFCON_2 = new CustomJdkLevel(%22DEFCON_2%22, 999);%0A%0A    // above Level.SEVERE; should map to FATAL%0A    public static final Level DEFCON_1 = new CustomJdkLevel(%22DEFCON_1%22, 10000);%0A%7D%0A

Add custom jul.Level for unit tests.