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

Method resetContext

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

* Resets the logger context to the value that was passed in the constructor.

()

Source from the content-addressed store, hash-verified

298 * Resets the logger context to the value that was passed in the constructor.
299 */
300 resetContext() {
301 this.context = this.originalContext;
302 }
303
304 isLevelEnabled(level: LogLevel): boolean {
305 const logLevels = this.options?.logLevels;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected