UNPKG

680 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 */
8/// <amd-module name="@angular/compiler-cli/src/ngtsc/logging/src/logger" />
9/**
10 * Implement this interface if you want to provide different logging
11 * output from the standard ConsoleLogger.
12 */
13export interface Logger {
14 level: LogLevel;
15 debug(...args: string[]): void;
16 info(...args: string[]): void;
17 warn(...args: string[]): void;
18 error(...args: string[]): void;
19}
20export declare enum LogLevel {
21 debug = 0,
22 info = 1,
23 warn = 2,
24 error = 3
25}