public void write(String string) { super.write("<"+(syslogFacility | level)+">" + string); } }
/** Write a header as produced by the embedded layout's {@link Layout#getHeader} method. */ protected void writeHeader() { if(layout != null) { String h = layout.getHeader(); if(h != null && this.qw != null) this.qw.write(h); } }
/** Write a footer as produced by the embedded layout's {@link Layout#getFooter} method. */ protected void writeFooter() { if(layout != null) { String f = layout.getFooter(); if(f != null && this.qw != null) { this.qw.write(f); this.qw.flush(); } } }
/** Actual writing occurs here. <p>Most subclasses of <code>WriterAppender</code> will need to override this method. @since 0.9.0 */ protected void subAppend(LoggingEvent event) { this.qw.write(this.layout.format(event)); if(layout.ignoresThrowable()) { String[] s = event.getThrowableStrRep(); if (s != null) { int len = s.length; for(int i = 0; i < len; i++) { this.qw.write(s[i]); this.qw.write(Layout.LINE_SEP); } } } if(shouldFlush(event)) { this.qw.flush(); } }
public void write(String string) { super.write("<"+(syslogFacility | level)+">" + string); } }
public void write(String string) { super.write("<"+(syslogFacility | level)+">" + string); } }
/** Write a header as produced by the embedded layout's {@link Layout#getHeader} method. */ protected void writeHeader() { if(layout != null) { String h = layout.getHeader(); if(h != null && this.qw != null) this.qw.write(h); } } }
/** Write a header as produced by the embedded layout's {@link Layout#getHeader} method. */ protected void writeHeader() { if(layout != null) { String h = layout.getHeader(); if(h != null && this.qw != null) { this.qw.write(h); } } }
/** Actual writing occurs here. <p>Most subclasses of <code>WriterAppender</code> will need to override this method. @since 0.9.0 */ protected void subAppend(LoggingEvent event) { this.qw.write(this.layout.format(event)); if(layout.ignoresThrowable()) { String[] s = event.getThrowableStrRep(); if (s != null) { int len = s.length; for(int i = 0; i < len; i++) { this.qw.write(s[i]); this.qw.write(Layout.LINE_SEP); } } } if(this.immediateFlush) { this.qw.flush(); } }
/** Write a footer as produced by the embedded layout's {@link Layout#getFooter} method. */ protected void writeFooter() { if(layout != null) { String f = layout.getFooter(); if(f != null && this.qw != null) { this.qw.write(f); this.qw.flush(); } } }
/** Write a footer as produced by the embedded layout's {@link Layout#getFooter} method. */ protected void writeFooter() { if(layout != null) { String f = layout.getFooter(); if(f != null && this.qw != null) { this.qw.write(f); this.qw.flush(); } } }
/** Actual writing occurs here. <p>Most subclasses of <code>WriterAppender</code> will need to override this method. @since 0.9.0 */ protected void subAppend(LoggingEvent event) { this.qw.write(this.layout.format(event)); if(layout.ignoresThrowable()) { String[] s = event.getThrowableStrRep(); if (s != null) { int len = s.length; for(int i = 0; i < len; i++) { this.qw.write(s[i]); this.qw.write(Layout.LINE_SEP); } } } if(shouldFlush(event)) { this.qw.flush(); } }
public void write(String string) { super.write("<"+(syslogFacility | level)+">" + string); } }
public void write(String string) { super.write("<"+(syslogFacility | level)+">" + string); } }
public void write(String string) { super.write("<"+(syslogFacility | level)+">" + string); } }
/** Write a header as produced by the embedded layout's {@link Layout#getHeader} method. */ protected void writeHeader() { if(layout != null) { String h = layout.getHeader(); if(h != null && this.qw != null) this.qw.write(h); } }
/** Write a header as produced by the embedded layout's {@link Layout#getHeader} method. */ protected void writeHeader() { if(layout != null) { String h = layout.getHeader(); if(h != null && this.qw != null) this.qw.write(h); } }
/** Write a header as produced by the embedded layout's {@link Layout#getHeader} method. */ protected void writeHeader() { if(layout != null) { String h = layout.getHeader(); if(h != null && this.qw != null) this.qw.write(h); } }
/** Write a header as produced by the embedded layout's {@link Layout#getHeader} method. */ protected void writeHeader() { if(layout != null) { String h = layout.getHeader(); if(h != null && this.qw != null) this.qw.write(h); } }
/** Write a header as produced by the embedded layout's {@link Layout#getHeader} method. */ protected void writeHeader() { if(layout != null) { String h = layout.getHeader(); if(h != null && this.qw != null) this.qw.write(h); } } }