MCPcopy
hub / github.com/nestjs/nest / setContext

Method setContext

packages/common/services/console-logger.service.ts:293–295  ·  view source on GitHub ↗

* Set logger context * @param context context

(context: string)

Source from the content-addressed store, hash-verified

291 * @param context context
292 */
293 setContext(context: string) {
294 this.context = context;
295 }
296
297 /**
298 * Resets the logger context to the value that was passed in the constructor.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected