0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 10:51:01 +00:00
hono/deno_dist/middleware/logger
2022-07-17 18:11:09 +09:00
..
index.ts chore(deno): denoify 2022-07-17 18:11:09 +09:00
README.md feat: support Deno! (#336) 2022-07-02 15:09:45 +09:00

Logger Middleware

Usage

index.js:

import { Hono } from 'hono'
import { logger } from 'hono/logger'

export const app = new Hono()

app.use('*', logger())
app.get('/', (c) => c.text('Hello Hono!'))

app.fire()