Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
class LoggerService
implements ILogger
import { LoggerService } from "https://deno.land/x/oak_nest@v3.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