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

x/oak_nest/example/user/services/logger.service.ts>LoggerService

Refer to nestjs to realize some common functions for Deno
Go to Latest
class LoggerService
implements ILogger
import { LoggerService } from "https://deno.land/x/oak_nest@v2.0.1/example/user/services/logger.service.ts";

Properties

private
optional
parentName: string

Methods

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

The parent name was not injected when the service was created

debug(...messages: any[])
error(...messages: any[]): void
info(...messages: any[]): void
warn(...messages: any[]): void