MCPcopy Index your code
hub / github.com/angular/angular / log

Method log

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

Source from the content-addressed store, hash-verified

1055class MockConsole {
1056 res: any[][] = [];
1057 log(...args: any[]): void {
1058 // Logging from ErrorHandler should run outside of the Angular Zone.
1059 NgZone.assertNotInAngularZone();
1060 this.res.push(args);
1061 }
1062 error(...args: any[]): void {
1063 // Logging from ErrorHandler should run outside of the Angular Zone.
1064 NgZone.assertNotInAngularZone();

Callers

nothing calls this directly

Calls 2

pushMethod · 0.45

Tested by

no test coverage detected