1 | /// <amd-module name="@angular/compiler-cli/src/ngtsc/logging/src/console_logger" />
|
2 | /**
|
3 | * @license
|
4 | * Copyright Google LLC All Rights Reserved.
|
5 | *
|
6 | * Use of this source code is governed by an MIT-style license that can be
|
7 | * found in the LICENSE file at https://angular.io/license
|
8 | */
|
9 | import { Logger, LogLevel } from './logger';
|
10 | export declare const DEBUG: string;
|
11 | export declare const WARN: string;
|
12 | export declare const ERROR: string;
|
13 | /**
|
14 | * A simple logger that outputs directly to the Console.
|
15 | *
|
16 | * The log messages can be filtered based on severity via the `logLevel`
|
17 | * constructor parameter.
|
18 | */
|
19 | export declare class ConsoleLogger implements Logger {
|
20 | level: LogLevel;
|
21 | constructor(level: LogLevel);
|
22 | debug(...args: string[]): void;
|
23 | info(...args: string[]): void;
|
24 | warn(...args: string[]): void;
|
25 | error(...args: string[]): void;
|
26 | }
|