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

x/deno_nest/example/log/src/log.ts>Logger

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
class Logger
import { Logger } from "https://deno.land/x/deno_nest@v3.15.1/example/log/src/log.ts";

Constructors

new
Logger(parentClass: Constructor)

Properties

private
optional
parentName: string

Methods

private
write(methodName:
| "warning"
| "info"
| "debug"
| "error"
, ...messages: any[]
): void
debug(...messages: any[]): void
error(...messages: any[]): void
info(...messages: any[]): void
warn(...messages: any[]): void