Skip to content

Commit 41cf413

Browse files
committed
Use logger.
1 parent b6b837f commit 41cf413

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/handlers/graphql-ld-handler.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,9 @@ module.exports = class GraphQLLDHandler extends Handler {
325325
const value = selection.arguments[0].value.value;
326326
result.push({path: currentPath, value});
327327
} else if (selection.selectionSet) {
328-
console.log('Static IDs: Nested selection sets are ignored at the moment.');
328+
if (this.logger) {
329+
this.logger.info('Static IDs: Nested selection sets are ignored at the moment.');
330+
}
329331
}
330332
});
331333

0 commit comments

Comments
 (0)