diff --git a/README.md b/README.md index b005d1f..29bc92f 100644 --- a/README.md +++ b/README.md @@ -109,3 +109,12 @@ It won’t: ### Creating the Shape Template from ShEx _TODO_ + + +### Logging + +Logging can be enabled using the `DEBUG` environment variable, `DEBUG=extract-cbd-shape:*`. + + + + diff --git a/lib/CBDShapeExtractor.ts b/lib/CBDShapeExtractor.ts index b294acc..a685fe2 100644 --- a/lib/CBDShapeExtractor.ts +++ b/lib/CBDShapeExtractor.ts @@ -6,7 +6,7 @@ import { RdfStore } from "rdf-stores"; import { Quad, Term } from "@rdfjs/types"; import debug from "debug"; -const log = debug("cbdExtracted"); +const log = debug("extract-cbd-shape"); const df = new DataFactory();