Skip to content

Commit

Permalink
[FAB-13864] adding additional logging
Browse files Browse the repository at this point in the history
Change-Id: I7c52f08f8ddadad111913ff4b16dd145eb583d67
Signed-off-by: awjh-ibm <[email protected]>
Signed-off-by: heatherlp <[email protected]>
  • Loading branch information
awjh-ibm authored and heatherlp committed Sep 25, 2019
1 parent f085675 commit 594ff9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions fabric-contract-api/lib/annotations/transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ module.exports.Transaction = function Transaction (commit = true) {

const description = '';
const contextType = target.createContext().constructor;

logger.debug(`Transaction ${target} -> ${propertyKey} params`, paramNames);

const paramTypes = Reflect.getMetadata('design:paramtypes', target, propertyKey) || [];

let numRemoved = 0;
Expand Down
3 changes: 2 additions & 1 deletion fabric-shim/lib/contract-spi/chaincodefromcontract.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ class ChaincodeFromContract {
}

this.serializers = serializers;
logger.info('Using serializers', serializers);
logger.debug('Using serializers', serializers);


this.title = title;
this.version = version;
Expand Down

0 comments on commit 594ff9e

Please sign in to comment.