Skip to content

Commit

Permalink
add logging information to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ajuvercr committed Mar 28, 2024
1 parent b4a4c20 commit 8023887
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 8023887

Please sign in to comment.