source: trip-planner-front/node_modules/@angular-devkit/core/src/logger/level.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.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 */
8import { JsonObject } from '../json/interface';
9import { LogLevel, Logger } from './logger';
10export declare class LevelTransformLogger extends Logger {
11 readonly name: string;
12 readonly parent: Logger | null;
13 readonly levelTransform: (level: LogLevel) => LogLevel;
14 constructor(name: string, parent: Logger | null, levelTransform: (level: LogLevel) => LogLevel);
15 log(level: LogLevel, message: string, metadata?: JsonObject): void;
16 createChild(name: string): Logger;
17}
18export declare class LevelCapLogger extends LevelTransformLogger {
19 readonly name: string;
20 readonly parent: Logger | null;
21 readonly levelCap: LogLevel;
22 static levelMap: {
23 [cap: string]: {
24 [level: string]: string;
25 };
26 };
27 constructor(name: string, parent: Logger | null, levelCap: LogLevel);
28}
Note: See TracBrowser for help on using the repository browser.