mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
chore: add error
to log level enum (#4943)
This commit is contained in:
parent
4f5802c95d
commit
b6ea32c435
2 changed files with 7 additions and 2 deletions
5
.changeset/early-eyes-float.md
Normal file
5
.changeset/early-eyes-float.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@verdaccio/types': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
chore: add `error` to log level enum
|
|
@ -17,13 +17,13 @@ export interface Logger {
|
||||||
|
|
||||||
export type LoggerType = 'stdout' | 'file';
|
export type LoggerType = 'stdout' | 'file';
|
||||||
export type LoggerFormat = 'pretty' | 'pretty-timestamped' | 'json';
|
export type LoggerFormat = 'pretty' | 'pretty-timestamped' | 'json';
|
||||||
export type LoggerLevel = 'http' | 'fatal' | 'warn' | 'info' | 'debug' | 'trace';
|
export type LoggerLevel = 'fatal' | 'error' | 'warn' | 'info' | 'http' | 'debug' | 'trace';
|
||||||
|
|
||||||
export type LoggerConfigItem = {
|
export type LoggerConfigItem = {
|
||||||
type?: LoggerType;
|
type?: LoggerType;
|
||||||
format?: LoggerFormat;
|
format?: LoggerFormat;
|
||||||
path?: string;
|
path?: string;
|
||||||
level?: string;
|
level?: LoggerLevel;
|
||||||
colors?: boolean;
|
colors?: boolean;
|
||||||
async?: boolean;
|
async?: boolean;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue