Π·Π΅ΡΠΊΠ°Π»ΠΎ ΠΈΠ· https://github.com/mozilla/pino-mozlog.git
4149773197
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.circleci | ||
.github | ||
__tests__ | ||
src | ||
.babelrc | ||
.gitignore | ||
.npmrc | ||
.prettierignore | ||
.prettierrc | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
LICENSE.txt | ||
README.md | ||
index.js | ||
mozlog-schema.json | ||
package-lock.json | ||
package.json |
README.md
pino-mozlog
A transport for transforming pino logs into mozlog.
Installation
$ npm i pino-mozlog
Usage
This transport only reformats the logs into mozlog compatible strings:
$ node your-app.js | pino-mozlog
You can specify the mozlog type:
$ node your-proxy.js | pino-mozlog --type proxy
By default, errors are sent to stderr
(not mozlog-compliant though). You can disable this behavior and ignore all errors with --silent
:
$ node your-app.js | pino-mozlog --silent
License
pino-mozlog is released under the Mozilla Public License Version 2.0. See the bundled LICENSE file for details.