本文整理了Java中ch.qos.logback.core.encoder.Encoder.footerBytes()
方法的一些代码示例,展示了Encoder.footerBytes()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Encoder.footerBytes()
方法的具体详情如下:
包路径:ch.qos.logback.core.encoder.Encoder
类名称:Encoder
方法名:footerBytes
[英]Get footer bytes. This method is typically called prior to the closing of the stream where events are written.
[中]获取页脚字节。此方法通常在写入事件的流关闭之前调用。
代码示例来源:origin: tony19/logback-android
void encoderClose() {
if (encoder != null && this.outputStream != null) {
try {
byte[] footer = encoder.footerBytes();
writeBytes(footer);
} catch (IOException ioe) {
this.started = false;
addStatus(new ErrorStatus("Failed to write footer for appender named ["
+ name + "].", this, ioe));
}
}
}
代码示例来源:origin: io.virtdata/virtdata-lib-realer
void encoderClose() {
if (encoder != null && this.outputStream != null) {
try {
byte[] footer = encoder.footerBytes();
writeBytes(footer);
} catch (IOException ioe) {
this.started = false;
addStatus(new ErrorStatus("Failed to write footer for appender named [" + name + "].", this, ioe));
}
}
}
代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded
void encoderClose() {
if (encoder != null && this.outputStream != null) {
try {
byte[] footer = encoder.footerBytes();
writeBytes(footer);
} catch (IOException ioe) {
this.started = false;
addStatus(new ErrorStatus("Failed to write footer for appender named [" + name + "].", this, ioe));
}
}
}
代码示例来源:origin: Nextdoor/bender
void encoderClose() {
if (encoder != null && this.outputStream != null) {
try {
byte[] footer = encoder.footerBytes();
writeBytes(footer);
} catch (IOException ioe) {
this.started = false;
addStatus(new ErrorStatus("Failed to write footer for appender named [" + name + "].", this, ioe));
}
}
}
内容来源于网络,如有侵权,请联系作者删除!