forked from ringcentral/pubnub-jtools
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathLogger.java
More file actions
32 lines (19 loc) · 850 Bytes
/
Copy pathLogger.java
File metadata and controls
32 lines (19 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package com.pubnub.api;
class Logger extends AbstractLogger {
private Class _class;
public Logger(Class _class) {
this._class = _class;
}
protected void nativeDebug(String s) {
System.out.println("["+Thread.activeCount()+ "] Thread ID : " + Thread.currentThread().hashCode() + " " + s);
}
protected void nativeVerbose(String s) {
System.out.println("["+Thread.activeCount()+ "] Thread ID : " + Thread.currentThread().hashCode() + " " + s);
}
protected void nativeError(String s) {
System.out.println("["+Thread.activeCount()+ "] Thread ID : " + Thread.currentThread().hashCode() + " " + s);
}
protected void nativeInfo(String s) {
System.out.println("["+Thread.activeCount()+ "] Thread ID : " + Thread.currentThread().hashCode() + " " + s);
}
}