import log from "loglevel"; import { server, metricsServer } from "./app"; log.setLevel((Bun.env.LOG_LEVEL || "info") as log.LogLevelDesc); const metricsServed = Bun.serve(metricsServer); console.info(`Metrics server started on port ${metricsServed.port}`); const served = Bun.serve(server); console.info(`Serving website on http://${served.hostname}:${served.port}/`);