@comunica/logger-pretty
v4.5.0
Published
A comunica logger that pretty-prints.
Downloads
23,279
Readme
Comunica Bus SPARQL Parse
A logger that prints to standard output.
Click here to learn more about logging.
This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.
Click here if you just want to query with Comunica.
Install
$ yarn add @comunica/logger-prettyUsage
const QueryEngine = require('@comunica/query-sparql').QueryEngine;
import {LoggerPretty} from "@comunica/logger-pretty";
const bindingsStream = await new QueryEngine().queryBindings('SELECT * WHERE { ?s ?p ?o }', {
sources: ['http://fragments.dbpedia.org/2015/en'],
log: new LoggerPretty({ level: 'debug' }),
});