跳到主要内容
版本:Next

ILogger

Logger Options for midway, you can merge this interface in package

@example

import { IMidwayLogger } from '@midwayjs/logger';

declare module '@midwayjs/core/dist/interface' {
interface ILogger extends IMidwayLogger {
}
}

Index

Methods

debug

  • debug(msg: any, ...args: any[]): void

error

  • error(msg: any, ...args: any[]): void

info

  • info(msg: any, ...args: any[]): void

warn

  • warn(msg: any, ...args: any[]): void