about summary refs log tree commit diff stats
path: root/src/index.ts
diff options
context:
space:
mode:
authorAlan Pearce2024-04-09 11:53:27 +0200
committerAlan Pearce2024-04-09 11:56:44 +0200
commitd867b4d31be01f3114c3417c4114a3896cfe096c (patch)
tree044e714c36813733076171856af0a4cedb209bcd /src/index.ts
parent2d40fe2ceb36391cd2049f2f8689a9123bf024be (diff)
downloadwebsite-d867b4d31be01f3114c3417c4114a3896cfe096c.tar.lz
website-d867b4d31be01f3114c3417c4114a3896cfe096c.tar.zst
website-d867b4d31be01f3114c3417c4114a3896cfe096c.zip
Use log methods instead of console
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts
index 17eacd8..0591e6d 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -5,10 +5,10 @@ import { server, metricsServer } from "./app";
 log.setLevel((import.meta.env["LOG_LEVEL"] || "info") as log.LogLevelDesc);
 
 const metricsServed = Bun.serve(metricsServer);
-console.info(`Metrics server started on port ${metricsServed.port}`);
+log.info(`Metrics server started on port ${metricsServed.port}`);
 
 const served = Bun.serve(server);
-console.info(`Serving website on ${served.url}`);
+log.info(`Serving website on ${served.url}`);
 
 process.on("SIGTERM", function () {
   log.info("SIGTERM received, shutting down...");