Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IMidwayKoaApplicationPlus<CTX>

Type parameters

  • CTX: IMidwayContext

Hierarchy

  • IMidwayApplication<CTX>
    • IMidwayKoaApplicationPlus

Methods

addConfigObject

  • addConfigObject(obj: any): any

createAnonymousContext

  • createAnonymousContext(...args: any[]): CTX

createLogger

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

getAppDir

  • getAppDir(): string

getApplicationContext

  • getApplicationContext(): IMidwayContainer

getBaseDir

  • getBaseDir(): string

getConfig

  • getConfig(key?: string): any

getCoreLogger

  • getCoreLogger(): ILogger

getEnv

  • getEnv(): string

getFrameworkType

getLogger

  • getLogger(name?: string): ILogger

getProcessType

getProjectName

  • getProjectName(): string

setContextLoggerClass

  • setContextLoggerClass(BaseContextLoggerClass: any): void

use

  • use(...args: any[]): any

Generated using TypeDoc