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

x/deno_nest/example/dev/user/services/logger.service.ts>LoggerService

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
class LoggerService
implements ILogger
import { LoggerService } from "https://deno.land/x/deno_nest@v3.5.2/example/dev/user/services/logger.service.ts";

Constructors

new
LoggerService(parentClass: Constructor)

Properties

private
optional
parentName: string

Methods

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