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

Class Logger

packages/core/test/debug/debug_node_spec.ts:35–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33import {ComponentFixture, TestBed} from '../../testing';
34
35@Service()
36class Logger {
37 logs: string[];
38
39 constructor() {
40 this.logs = [];
41 }
42
43 add(thing: string) {
44 this.logs.push(thing);
45 }
46}
47
48@Directive({
49 selector: '[message]',

Callers

nothing calls this directly

Calls 1

ServiceClass · 0.90

Tested by

no test coverage detected