Aller au contenu principal
Version: Next

Context

Index

Properties

logger

logger: ILogger

requestContext

requestContext: IMidwayContainer

Custom properties.

startTime

startTime: number

Methods

getApp

  • Get current related application instance.

getAttr

  • getAttr<T>(key: string): T
  • Get value from app attribute map


    Type parameters

    • T

getLogger

setAttr

  • setAttr(key: string, value: any): any
  • Set value to app attribute map