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

Class DebugConsole

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

Source from the content-addressed store, hash-verified

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