@@ -0,0 +1,2278 @@
+/*%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 */%0A%0Apackage org.apache.logging.log4j.jul;%0A%0Aimport org.apache.logging.log4j.Level;%0Aimport org.apache.logging.log4j.spi.ExtendedLogger;%0Aimport org.apache.logging.log4j.spi.ExtendedLoggerWrapper;%0A%0A/**%0A * Wrapper class to ensure proper FQCN support in Logger calls.%0A */%0Aclass WrappedLogger extends ExtendedLoggerWrapper %7B%0A%0A    private static final long serialVersionUID = 1L;%0A    private static final String FQCN = ApiLogger.class.getName();%0A%0A    WrappedLogger(final ExtendedLogger logger) %7B%0A        super(logger, logger.getName(), logger.getMessageFactory());%0A    %7D%0A%0A    @Override%0A    public void log(final Level level, final String message, final Throwable t) %7B%0A        logIfEnabled(FQCN, level, null, message, t);%0A    %7D%0A%0A    @Override%0A    public void log(final Level level, final String message, final Object... params) %7B%0A        logIfEnabled(FQCN, level, null, message, params);%0A    %7D%0A%0A    @Override%0A    public void log(final Level level, final String message) %7B%0A        logIfEnabled(FQCN, level, null, message);%0A    %7D%0A%0A    @Override%0A    public void entry() %7B%0A        entry(FQCN);%0A    %7D%0A%0A    @Override%0A    public void entry(final Object... params) %7B%0A        entry(FQCN, params);%0A    %7D%0A%0A    @Override%0A    public void exit() %7B%0A        exit(FQCN, null);%0A    %7D%0A%0A    @Override%0A    public %3CR%3E R exit(final R result) %7B%0A        return exit(FQCN, result);%0A    %7D%0A%0A    @Override%0A    public %3CT extends Throwable%3E T throwing(final T t) %7B%0A        return throwing(FQCN, Level.ERROR, t);%0A    %7D%0A%7D%0A

Add WrapperLogger.