pre-bemis

This commit is contained in:
Marcelo
2026-04-22 05:04:19 +00:00
parent ac1a7900c8
commit 80d27f83b6
91 changed files with 11769 additions and 820 deletions

View File

@@ -3,6 +3,10 @@ import path from "path";
const LOG_PATH = process.env.LOG_FILE || "/tmp/mis-control-tower.log";
export function getLogPath() {
return LOG_PATH;
}
export function logLine(event: string, data: Record<string, unknown> = {}) {
const line = JSON.stringify({
ts: new Date().toISOString(),