UNPKG

775 BTypeScriptView Raw
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 */
8import { Logger, LogLevel } from './logger';
9export declare const DEBUG: string;
10export declare const WARN: string;
11export declare const ERROR: string;
12/**
13 * A simple logger that outputs directly to the Console.
14 *
15 * The log messages can be filtered based on severity via the `logLevel`
16 * constructor parameter.
17 */
18export declare class ConsoleLogger implements Logger {
19 level: LogLevel;
20 constructor(level: LogLevel);
21 debug(...args: string[]): void;
22 info(...args: string[]): void;
23 warn(...args: string[]): void;
24 error(...args: string[]): void;
25}