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

x/deno_nest/modules/uinv/src/interceptors.ts>getLogInterceptor

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
function getLogInterceptor
import { getLogInterceptor } from "https://deno.land/x/deno_nest@v3.7.0/modules/uinv/src/interceptors.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; }