Skip to content

Commit 4b3cc67

Browse files
authored
fix bugs
1 parent 12ea698 commit 4b3cc67

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/test/java/com/optilog/OptilogTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public static void main(String[] args) {
2323
log.debug("#1", () -> "de");
2424
log.log("t!e!s!t!", new LevelBuild("test", Level.INFO));
2525
test(log);
26+
//打包日志
2627
//log.command("%zip D:\\Program\\Feishu\\app\\assets\\object\\apps\\Intellij-IDEA\\Project\\Optilog-Client\\src\\test\\resources\\logs");
2728
}
2829

@@ -31,6 +32,7 @@ private static void test(Log log) {
3132
log.info("info(test)");
3233
new Thread(() -> log.info("hello")).start();
3334
log.info("$");
35+
//重新获得实例
3436
Log log2 = Log.initLog("");
3537
log2.info("log2");
3638
}

0 commit comments

Comments
 (0)