MCPcopy
hub / github.com/angular/angularfire / log

Function log

src/compat/cache.ts:28–33  ·  view source on GitHub ↗
(level: 'log'|'error'|'info'|'warn', ...args: any)

Source from the content-addressed store, hash-verified

26const IS_HMR = typeof module !== 'undefined' && !!(module as any).hot;
27
28const log = (level: 'log'|'error'|'info'|'warn', ...args: any) => {
29 if (isDevMode() && typeof console !== 'undefined') {
30 // eslint-disable-next-line no-console
31 console[level](...args);
32 }
33};
34
35globalThis.ɵAngularfireInstanceCache ||= [];

Callers 1

ɵcacheInstanceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected