File tree Expand file tree Collapse file tree
src/test/java/com/optilog Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ _截止目前,Optilog代码总量2750行!_
88
99Optilog的Wiki随时会更新,有问题在Issues问,使用前一!定!看[ 本项目Wiki] ( https://github.com/OptiJava/Optilog-Client/wiki )
1010
11- 与OptilogClient配套的[ OptilogServer] ( https://github.com/OptiJava/Optilog-Server ) ,具体怎么用去看wiki
11+ 与OptilogClient配套的[ OptilogServer] ( https://github.com/OptiJava/Optilog-Server ) ,具体怎么用去看wiki.
1212
1313_ 如果你愿意,欢迎Fork这个仓库为Optilog做出贡献,本项目的代码比较基础,任何人都可以做出贡献~~ 包括不会编程的人,因为他们可以写教程~~ _
1414
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments