Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
kt86 committed Sep 19, 2024
1 parent 92c001f commit 0ba6b1e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,11 @@ private void handleEvent(PersonMoneyEvent event) {
if (vehicleId != null) {
Id<Carrier> carrierIdOfVehicle = v2c.getCarrierOfVehicle(vehicleId);
if (carrierId.equals(carrierIdOfVehicle)) {
tollValue = event.getAmount();
tollValue = event.getAmount();
log.info("Tolling caused by event: {}, tollvalue {}", event, tollValue);
score = score + tollValue;
}
score = score + tollValue;

}
}
}
Expand Down

0 comments on commit 0ba6b1e

Please sign in to comment.