1.0.0 • Published 5 months ago

@loggregator/pino-adapter v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

@loggregator/pino-adapter

Send logs to loggregator using pino.

Install

npm i @loggregator/pino-adapter
pnpm add @loggregator/pino-adapter
bun add @loggregator/pino-adapter
yarn add @loggregator/pino-adapter

Usage

An example of using the adapter can be found here.

Options

When you create your transport through pino, you are able to pass an options object. The following fields can be included in the options object:

FieldTypeDescription
tokenstringThe token to use for authentication with loggregator
apiURLstring (optional)The API URL for loggregator, if you have a custom instance. Defaults to the prod hosted version.

License

This adapter is licensed under the MIT license. See LICENSE for more details.

1.0.0

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago