Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.51 KB

README.md

File metadata and controls

59 lines (42 loc) · 1.51 KB

Hono + Pino

npm version npm downloads bundle Codecov License

A pino logger plugin for hono

The design references pino-http and nestjs-pino.

Install

# npm
npm install hono-pino pino
# pnpm
pnpm add hono-pino pino
# bun
bun add hono-pino pino

Example

see examples

Configuration

full options

Zero configuration

import { Hono } from "hono";
import { logger } from "hono-pino";

const app = new Hono();

app.use(logger());

Configuration params

todo
interface Options