UNPKG

548 BTypeScriptView Raw
1import { ActionBase } from './action/base';
2export declare type Levels = 'fatal' | 'error' | 'warn' | 'info' | 'debug' | 'trace';
3export interface ConfigMessage {
4 type: 'config';
5 prop: string;
6 value: any;
7}
8export declare class Config {
9 outputLevel: Levels;
10 action: ActionBase;
11 prideAction: ActionBase;
12 errorsHandled: boolean;
13 showStackTrace: boolean;
14 get debug(): boolean;
15 set debug(v: boolean);
16 get context(): any;
17 set context(v: any);
18}
19export declare const config: Config;
20export default config;