forked from FoundKeyGang/FoundKey
fix: log levels order
Most important messages are the ones with the highest value
This is a fixup for commit c5327f74d4
.
This commit is contained in:
parent
296c40c5b4
commit
6b9a3259f5
1 changed files with 5 additions and 5 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue