UNPKG

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