class MavenColorRenderer extends PatternRenderer {

    @Override
    protected void renderMessage(Event event, StringBuilder buff) {
        if (!isActivated) {
            super.renderMessage(event, buff);
            return;
        }

        if (event.getLevel() == WARN) {
            buff.append(colorize(event, YELLOW));
        } else if (event.getLevel() == INFO) {
            buff.append(colorizer.colorize(event.getMessage()));
        } else {
            super.renderMessage(event, buff);
        }
    }

    public  MavenColorRenderer();
    public  MavenColorRenderer(boolean isActivated);
    public  MavenColorRenderer(String pattern);
    public  MavenColorRenderer(String pattern, boolean isActivated);

}