From e3cedb9c7c3b9e554f4adf74ff97388a4774d0e3 Mon Sep 17 00:00:00 2001 From: Jeroen Offerijns Date: Tue, 11 Jun 2024 13:05:04 +0200 Subject: [PATCH] chore: add logging --- src/mappings/services/assetPositionService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mappings/services/assetPositionService.ts b/src/mappings/services/assetPositionService.ts index d31008ac..0c2193b3 100644 --- a/src/mappings/services/assetPositionService.ts +++ b/src/mappings/services/assetPositionService.ts @@ -13,6 +13,7 @@ export class AssetPositionService extends AssetPosition { } static buy(assetId: string, hash: string, timestamp: Date, quantity: bigint, price: bigint) { + logger.info(`Creating asset position ${assetId}-${hash} for quantity ${quantity} at ${timestamp}`) if (quantity > BigInt(0)) { return this.init(assetId, hash, timestamp, quantity, price).save() } else {