@dmikey/fastify-loggly
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

fastify-loggly

send your fastify logs to loggly with ease. A thin fastify compatible wrapper around pino that impliments logging with node-loggly-bulk.

install

yarn add @dmikey/fastify-loggly

use

import { Logger } from "@dmikey/fastify-loggly";

const fastify = Fastify({
  logger: Logger(FastifyLoggerOptions, LogglyOptions),
});

// use the logger
fastify.log("info", { some: "foo" });

Readme

Keywords

none

Package Sidebar

Install

npm i @dmikey/fastify-loggly

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

3.76 kB

Total Files

6

Last publish

Collaborators

  • toxigenicpoem