Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_nest/modules/uinv/mod.ts>getLogInterceptor

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
function getLogInterceptor
import { getLogInterceptor } from "https://deno.land/x/deno_nest@v3.15.1/modules/uinv/mod.ts";

The difference between LogInterceptor and LogMiddleware is that the latter can capture 404 errors.

Parameters

optional
options: { logger?: Logger; logLevel?: "info" | "debug"; isHeaderResponseTime?: boolean; }