MCPcopy
hub / github.com/angular/angular / DebugConsole

Class DebugConsole

packages/core/test/acceptance/defer_spec.ts:149–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147
148@Injectable()
149export class DebugConsole extends Console {
150 logs: string[] = [];
151 override log(message: string) {
152 this.logs.push(message);
153 }
154 override warn(message: string) {
155 this.logs.push(message);
156 }
157}
158
159/**
160 * Provides a debug console instance that allows to capture all

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…