add "warn" log level

now that we are using slog, which has them.
and we already could use them for a deprecation warning.
This commit is contained in:
Mechiel Lukkien
2023-12-14 20:26:06 +01:00
parent 41e3d1af10
commit 1abadc5499
3 changed files with 16 additions and 2 deletions

View File

@ -301,7 +301,7 @@ const config = async () => {
const loglevels = async () => {
const loglevels = await api.LogLevels()
const levels = ['error', 'info', 'debug', 'trace', 'traceauth', 'tracedata']
const levels = ['error', 'info', 'warn', 'debug', 'trace', 'traceauth', 'tracedata']
let form, fieldset, pkg, level