MCPcopy Create free account
hub / github.com/angular/angular / DebugConsole

Class DebugConsole

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

Source from the content-addressed store, hash-verified

162
163@Injectable()
164export class DebugConsole extends Console {
165 logs: string[] = [];
166 override log(message: string) {
167 this.logs.push(message);
168 }
169 override warn(message: string) {
170 this.logs.push(message);
171 }
172}
173
174/**
175 * 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