mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
26 lines
848 B
TypeScript
26 lines
848 B
TypeScript
|
declare const LogLevels: {
|
||
|
trace: number;
|
||
|
debug: number;
|
||
|
info: number;
|
||
|
warn: number;
|
||
|
error: number;
|
||
|
fatal: number;
|
||
|
readonly lower: number;
|
||
|
readonly higher: number;
|
||
|
};
|
||
|
declare type LogLevelName = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal';
|
||
|
declare const LogLevelNames: LogLevelName[];
|
||
|
declare const LogLevelValues: number[];
|
||
|
interface LogLevelsScaleEntry {
|
||
|
range: {
|
||
|
from: number;
|
||
|
next: number;
|
||
|
};
|
||
|
name: string;
|
||
|
test(level: number): boolean;
|
||
|
}
|
||
|
declare const LogLevelsScale: ReadonlyArray<LogLevelsScaleEntry>;
|
||
|
declare const logLevelNameFor: (level?: number | undefined) => string;
|
||
|
declare const parseLogLevel: (level: string | number) => number | undefined;
|
||
|
export { logLevelNameFor, LogLevels, LogLevelNames, LogLevelValues, LogLevelsScale, parseLogLevel, LogLevelName };
|