From 165f4035df4689343605874887574a8c06d0a24b Mon Sep 17 00:00:00 2001 From: clover caruso Date: Sun, 5 Oct 2025 13:06:07 -0700 Subject: [PATCH] feat: use lib/log in entry-node --- framework/backend/entry-node.ts | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/framework/backend/entry-node.ts b/framework/backend/entry-node.ts index 899d4aef43c0ee2cf6315326533ce4088634f6c0..0a540c7d3b4640e8257c2d84b2e3883809673002 100644 --- a/framework/backend/entry-node.ts +++ b/framework/backend/entry-node.ts @@ -11,11 +11,13 @@ const server = serve({ if (address === "::" || address === "127.0.0.1") { address = os.hostname().replace(/\.local$/, ""); } - console.info(url.format({ - protocol, - hostname: address, - port, - })); + console.info( + "live at " + url.format({ + protocol, + hostname: address, + port, + }), + ); }); process.on("SIGINT", () => { @@ -42,3 +44,4 @@ import * as os from "os"; import * as url from "node:url"; import { serve } from "@hono/node-server"; import process from "node:process"; +import * as console from "lib/log.ts"; -- 2.54.0