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

Method log

packages/core/test/application_ref_spec.ts:975–979  ·  view source on GitHub ↗
(...args: any[])

Source from the content-addressed store, hash-verified

973class MockConsole {
974 res: any[][] = [];
975 log(...args: any[]): void {
976 // Logging from ErrorHandler should run outside of the Angular Zone.
977 NgZone.assertNotInAngularZone();
978 this.res.push(args);
979 }
980 error(...args: any[]): void {
981 // Logging from ErrorHandler should run outside of the Angular Zone.
982 NgZone.assertNotInAngularZone();

Callers

nothing calls this directly

Calls 2

pushMethod · 0.45

Tested by

no test coverage detected