Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
2.0 KB
|
Line | |
---|
1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | import { Injectable } from './di';
|
---|
9 | export class Console {
|
---|
10 | log(message) {
|
---|
11 | // tslint:disable-next-line:no-console
|
---|
12 | console.log(message);
|
---|
13 | }
|
---|
14 | // Note: for reporting errors use `DOM.logError()` as it is platform specific
|
---|
15 | warn(message) {
|
---|
16 | // tslint:disable-next-line:no-console
|
---|
17 | console.warn(message);
|
---|
18 | }
|
---|
19 | }
|
---|
20 | Console.decorators = [
|
---|
21 | { type: Injectable }
|
---|
22 | ];
|
---|
23 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc29sZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvcmUvc3JjL2NvbnNvbGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLE1BQU0sQ0FBQztBQUdoQyxNQUFNLE9BQU8sT0FBTztJQUNsQixHQUFHLENBQUMsT0FBZTtRQUNqQixzQ0FBc0M7UUFDdEMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsQ0FBQztJQUN2QixDQUFDO0lBQ0QsNkVBQTZFO0lBQzdFLElBQUksQ0FBQyxPQUFlO1FBQ2xCLHNDQUFzQztRQUN0QyxPQUFPLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxDQUFDO0lBQ3hCLENBQUM7OztZQVZGLFVBQ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