Skip to content

Commit

Permalink
fixes of log parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Mar 18, 2018
1 parent e720bfc commit c35080d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class SLF4JLoggingCallback extends CallbackSkeleton {
*/
@Override
public void onStopwatchStart(Split split) {
logger.debug(marker, "SIMON START: {}");
logger.debug(marker, "SIMON START: {}", split.getStopwatch());
}

/**
Expand All @@ -39,7 +39,7 @@ public void onStopwatchStart(Split split) {
*/
@Override
public void onStopwatchStop(Split split, StopwatchSample sample) {
logger.debug(marker, "SIMON STOP: {} ({})", split.runningFor());
logger.debug(marker, "SIMON STOP: {} ({})", sample.toString(), split.runningFor());
}

/**
Expand All @@ -50,7 +50,7 @@ public void onStopwatchStop(Split split, StopwatchSample sample) {
*/
@Override
public void onManagerWarning(String warning, Exception cause) {
logger.debug(marker, "SIMON WARNING: {}", cause);
logger.debug(marker, "SIMON WARNING: {}", warning, cause);
}

/**
Expand Down

0 comments on commit c35080d

Please sign in to comment.