ARKI_LOG_E003

thrownThis error is thrown. It stops your code unless you catch it. Fix the cause below; catching it only hides the problem.

What happened

A level is neither one of the six names nor a severity number from 1 to 24.

Fix

Use `trace`, `debug`, `info`, `warn`, `error` or `fatal`, or a number from 1 to 24.

Check the fix

bun run test -- src/core/logging.test.ts

Run it after the fix. It passes when the fix worked.

Where it comes from

Package
@arki/log
Version
0.3.0 · next release candidate
Source
src/core/errors.ts:27