Package Exports
- elasticsearch-hapi-logger
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (elasticsearch-hapi-logger) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
elasticsearch-hapi-logger
Elastic Search Client Logger for Hapi
Installation
This module is installed using npm:
npm install --save elasticsearch-hapi-logger
Usage example
var Hapi = require('hapi');
var ElasticSearch = require('elasticsearch');
var server = new Hapi.Server();
var es = new ElasticSearch.Client({
log: require('elasticsearch-hapi-logger')(server)
});