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

x/deno_nest/src/interfaces/log.interface.ts>LoggerService

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
interface LoggerService
import { type LoggerService } from "https://deno.land/x/deno_nest@v3.3.1/src/interfaces/log.interface.ts";

Methods

info(message: any, ...optionalParams: any[]): any

Write a 'log' level log.

error(message: any, ...optionalParams: any[]): any

Write an 'error' level log.

warn(message: any, ...optionalParams: any[]): any

Write a 'warn' level log.

debug(message: any, ...optionalParams: any[]): any

Write a 'debug' level log.