fix: log levels order #387

Manually merged
Johann150 merged 1 commit from ignaloidas/FoundKey:log-levels into main 2023-05-23 16:13:43 +00:00
Showing only changes of commit c47dd30a8e - Show all commits

View file

@ -12,11 +12,11 @@ type Domain = {
};
export const LEVELS = {
error: 0,
warning: 1,
success: 2,
info: 3,
debug: 4,
error: 5,
warning: 4,
success: 3,
info: 2,
debug: 1,
};
export type Level = LEVELS[keyof LEVELS];