跳到主要内容
版本:Next

IMidwayWebBaseApplication

Index

Properties

applicationContext

applicationContext: IMidwayContainer

Methods

createLogger

  • createLogger(name: string, options: LoggerOptions): ILogger

optionalgenerateMiddleware

  • generateMiddleware(middlewareId: any): Promise<Middleware<State, Context<any>, any>>

getCoreLogger

  • getCoreLogger(): ILogger

getLogger

  • getLogger(name?: string): ILogger