0
Fork 0
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:
Marc Bernard 2024-11-16 07:48:00 -05:00 committed by GitHub
parent 4f5802c95d
commit b6ea32c435
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
'@verdaccio/types': patch
---
chore: add `error` to log level enum

View file

@ -17,13 +17,13 @@ export interface Logger {
export type LoggerType = 'stdout' | 'file';
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 = {
type?: LoggerType;
format?: LoggerFormat;
path?: string;
level?: string;
level?: LoggerLevel;
colors?: boolean;
async?: boolean;
};