Skip to content

Commit

Permalink
correction parametrage executionTimeAspect
Browse files Browse the repository at this point in the history
  • Loading branch information
jvk88511334 committed Nov 13, 2023
1 parent c0f256b commit b4f6776
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public Object measureExecutionTime(ProceedingJoinPoint joinPoint) throws Throwab
long endTime = System.currentTimeMillis();
double executionTime = (endTime - startTime) / 1000;

log.debug("Thread: ", Thread.currentThread().getName());
log.debug("Methode: ", Thread.currentThread().getStackTrace()[1].getMethodName());
log.debug("Thread: " + Thread.currentThread().getName());
log.debug("Methode: " + Thread.currentThread().getStackTrace()[1].getMethodName());
log.debug("Temps d'exécution : " + executionTime + " secondes");
return result;
}
Expand Down

0 comments on commit b4f6776

Please sign in to comment.