We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for example:
const pinoms = require('pino-multi-stream') const pinoEs = require('pino-elasticsearch')({ host: '192.168.1.220', index: 'zb' }) const logger = pinoms({ streams: [ {level: 'error', stream: process.stderr}, // an "error" level destination stream {level: 'info', stream: process.stdout}, // an "info" level destination stream {stream: pinoEs} ] }) logger.info({'msg': {'info': 'info'}}) logger.debug('debug') logger.warn('warn') logger.error('error')
The text was updated successfully, but these errors were encountered:
I would love to support that! Would you like to send a PR?
Sorry, something went wrong.
#25
for the latest version of pino-elasticsearch, 'node' should be used instead of 'host'
const pinoEs = require('pino-elasticsearch')({ node: '192.168.1.220', index: 'zb' })
No branches or pull requests
for example:
The text was updated successfully, but these errors were encountered: