Skip to content

Commit

Permalink
Merge pull request #25 from TREEcg/cleaner-log
Browse files Browse the repository at this point in the history
add logging information to readme
  • Loading branch information
pietercolpaert committed Mar 28, 2024
2 parents 8249c66 + 8023887 commit e7cfd87
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:*`.




2 changes: 1 addition & 1 deletion lib/CBDShapeExtractor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit e7cfd87

Please sign in to comment.