ARKI_LOG_E001
thrownThis error is thrown. It stops your code unless you catch it. Fix the cause below; catching it only hides the problem.
What happened
`configure()` ran a second time on the same logging instance.
Fix
Call `configure()` once at the app entry, with `{ owner: import.meta.url }` so a dev re-run of the entry is allowed. Use `reconfigure()` on its handle to change the setup.
Check the fix
bun run test -- src/core/logging.test.tsRun 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:13