MCPcopy Create free account
hub / github.com/F12FLASH/CTF / log

Function log

4.Stackless Stack/server/vite.ts:11–20  ·  view source on GitHub ↗
(message: string, source = "express")

Source from the content-addressed store, hash-verified

9const viteLogger = createLogger();
10
11export function log(message: string, source = "express") {
12 const formattedTime = new Date().toLocaleTimeString("en-US", {
13 hour: "numeric",
14 minute: "2-digit",
15 second: "2-digit",
16 hour12: true,
17 });
18
19 console.log(`${formattedTime} [${source}] ${message}`);
20}
21
22export async function setupVite(app: Express, server: Server) {
23 const serverOptions = {

Callers 1

index.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected