protected void reset() {
        this.closeWriter();
        this.out = null;
    }
Write a footer as produced by the embedded layout's
{@link Layout#getFooter} method.
metamorphosis-client-extension/src/main/java/com/taobao/metamorphosis/client/extension/log4j/StreamAppender.java