We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fa87cb commit be27e7cCopy full SHA for be27e7c
1 file changed
src/main/java/com/github/danieln/dnssdjava/TestApp.java
@@ -2,6 +2,8 @@
2
3
import java.net.UnknownHostException;
4
import java.util.Collection;
5
+import java.util.logging.Level;
6
+import java.util.logging.Logger;
7
8
import com.github.danieln.dnssdjava.ServiceType.Transport;
9
@@ -14,6 +16,8 @@ public class TestApp {
14
16
15
17
public static void main(String args[]) {
18
19
+ Logger.getLogger("com.github.danieln.dnssdjava").setLevel(Level.ALL);
20
+
21
try {
22
DnsSDRegistrator reg = DnsSDFactory.getInstance().createRegistrator();
23
ServiceName name = reg.makeServiceName("MyTestService", new ServiceType("_http", Transport.TCP));
0 commit comments