@midwayjs/coreInterfacesContext版本:Next本页总览Context Index PropertiesloggerrequestContextstartTimeMethodsgetAppgetAttrgetLoggersetAttrProperties loggerlogger: ILoggerrequestContextrequestContext: IMidwayContainerCustom properties.startTimestartTime: numberMethods getAppgetApp(): IMidwayBaseApplication<Context>Get current related application instance.getAttrgetAttr<T>(key: string): TGet value from app attribute mapType parametersTgetLoggergetLogger(name?: string): ILoggersetAttrsetAttr(key: string, value: any): anySet value to app attribute map
Custom properties.