本文整理了Java中ch.qos.logback.core.subst.Node.dump()
方法的一些代码示例,展示了Node.dump()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Node.dump()
方法的具体详情如下:
包路径:ch.qos.logback.core.subst.Node
类名称:Node
方法名:dump
暂无
代码示例来源:origin: camunda/camunda-bpm-platform
public void dump() {
System.out.print(this.toString());
System.out.print(" -> ");
if(next != null) {
next.dump();
} else {
System.out.print(" null");
}
}
代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded
public void dump() {
System.out.print(this.toString());
System.out.print(" -> ");
if (next != null) {
next.dump();
} else {
System.out.print(" null");
}
}
代码示例来源:origin: tony19/logback-android
public void dump() {
System.out.print(this.toString());
System.out.print(" -> ");
if(next != null) {
next.dump();
} else {
System.out.print(" null");
}
}
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/ch.qos.logback.core
public void dump() {
System.out.print(this.toString());
System.out.print(" -> ");
if(next != null) {
next.dump();
} else {
System.out.print(" null");
}
}
代码示例来源:origin: io.virtdata/virtdata-lib-realer
public void dump() {
System.out.print(this.toString());
System.out.print(" -> ");
if (next != null) {
next.dump();
} else {
System.out.print(" null");
}
}
代码示例来源:origin: ch.qos.logback/core
public void dump() {
System.out.print(this.toString());
System.out.print(" -> ");
if(next != null) {
next.dump();
} else {
System.out.print(" null");
}
}
代码示例来源:origin: com.hynnet/logback-core
public void dump() {
System.out.print(this.toString());
System.out.print(" -> ");
if(next != null) {
next.dump();
} else {
System.out.print(" null");
}
}
代码示例来源:origin: Nextdoor/bender
public void dump() {
System.out.print(this.toString());
System.out.print(" -> ");
if (next != null) {
next.dump();
} else {
System.out.print(" null");
}
}
代码示例来源:origin: tony19/logback-android
@Test
public void literalWithTwoAccolades() throws ScanException {
Tokenizer tokenizer = new Tokenizer("%x{y} %a{b} c");
Parser parser = new Parser(tokenizer.tokenize());
Node node = parser.parse();
Node witness = new Node(Node.Type.LITERAL, "%x");
Node t = witness.next = new Node(Node.Type.LITERAL, "{");
t.next = new Node(Node.Type.LITERAL, "y");
t = t.next;
t.next = new Node(Node.Type.LITERAL, "}");
t = t.next;
t.next = new Node(Node.Type.LITERAL, " %a");
t = t.next;
t.next = new Node(Node.Type.LITERAL, "{");
t = t.next;
t.next = new Node(Node.Type.LITERAL, "b");
t = t.next;
t.next = new Node(Node.Type.LITERAL, "}");
t = t.next;
t.next = new Node(Node.Type.LITERAL, " c");
node.dump();
System.out.println("");
assertEquals(witness, node);
}
内容来源于网络,如有侵权,请联系作者删除!