1 | import * as yargs from 'yargs';
|
2 | import { LogLevel } from '../common/logger';
|
3 | import { CliContribution } from './cli';
|
4 | import { Event, Emitter } from '../common/event';
|
5 |
|
6 | export interface LogLevels {
|
7 | [key: string]: LogLevel;
|
8 | }
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | export declare class LogLevelCliContribution implements CliContribution {
|
15 | protected _logLevels: LogLevels;
|
16 | |
17 |
|
18 |
|
19 | protected _defaultLogLevel: LogLevel;
|
20 | protected logConfigChangedEvent: Emitter<void>;
|
21 | get defaultLogLevel(): LogLevel;
|
22 | get logLevels(): LogLevels;
|
23 | configure(conf: yargs.Argv): void;
|
24 | setArguments(args: yargs.Arguments): Promise<void>;
|
25 | protected watchLogConfigFile(filename: string): Promise<void>;
|
26 | protected slurpLogConfigFile(filename: string): Promise<void>;
|
27 | get onLogConfigChanged(): Event<void>;
|
28 | logLevelFor(loggerName: string): LogLevel;
|
29 | |
30 |
|
31 |
|
32 | protected readLogLevelString(levelStr: string, errMessagePrefix: string): LogLevel;
|
33 | }
|
34 |
|
\ | No newline at end of file |