refactor(core): replace legacy logger with Effect logging (#31310)

This commit is contained in:
Dax 2026-06-08 15:41:56 -04:00 committed by GitHub
commit c06ad7c881
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
152 changed files with 697 additions and 2242 deletions

View file

@ -54,8 +54,7 @@ async function start(command: StartCommand) {
ensureLoopbackNoProxy()
useSystemCertificates()
useEnvProxy()
const { Log, Server } = await import("virtual:opencode-server")
await Log.init({ level: "WARN" })
const { Server } = await import("virtual:opencode-server")
listener = await Server.listen({
port: command.port,