All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yomahub.aspectlog.enhance.log4j.AspectLog4jPatternParser Maven / Gradle / Ivy

The newest version!
package com.yomahub.aspectlog.enhance.log4j;

import org.apache.log4j.helpers.PatternParser;
/**
 * @author Bryan.Zhang
 */
public class AspectLog4jPatternParser extends PatternParser {
    public AspectLog4jPatternParser(String pattern) {
        super(pattern);
    }

    @Override
    protected void finalizeConverter(char c) {
        if ('m' == c) {
            addConverter(new AspectLog4jPatternConverter());
        } else {
            super.finalizeConverter(c);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy