How to use the node-wit.log.DEBUG function in node-wit

To help you get started, we’ve selected a few node-wit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ovh-ux / ovh-chatbot / utils / wit.js View on Github external
"use strict";

const { Wit, log } = require("node-wit");
const config = require("../config/config-loader").load();

const client = new Wit({
  accessToken: config.wit.token,
  logger: new log.Logger(log.DEBUG)
});

module.exports = client;

node-wit

Wit.ai Node.js SDK

Unrecognized
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis