Skip to content

Commit

Permalink
add log for app
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenceDut committed Mar 26, 2019
1 parent 6a5588d commit 16791b5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public static <T extends IHub> T getImpl(Class<T> iHub) {
int monitorIndex = iHub.hashCode() & (HubMonitor.values().length -1);
IHub realImpl;
long monitorStartTime = System.currentTimeMillis();
Hub.sIHubLog.info(TAG, String.format("getImpl before monitor %s , monitor %d ", iHub.getName(),monitorIndex));
Hub.sIHubLog.info(TAG, "getImpl before monitor"+iHub.getName()+" monitor"+monitorIndex +" currentThread :"+Thread.currentThread().getName());

synchronized (HubMonitor.values()[monitorIndex]) {
try {
long startTime = System.currentTimeMillis();
Expand Down

0 comments on commit 16791b5

Please sign in to comment.