feat(tailer): added Tailer.run call
This commit is contained in:
parent
bd6122b44e
commit
39a75c0119
|
@ -10,6 +10,10 @@ public class Main {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
System.out.println("Hello world!");
|
System.out.println("Hello world!");
|
||||||
|
|
||||||
|
TailerListener listener = new MyListener();
|
||||||
|
Tailer tailer = new Tailer(new File("NetPeerManager.log"), listener, 500);
|
||||||
|
tailer.run();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue