MCPcopy Create free account
hub / github.com/codehamr/codehamr / OpenDebugLog

Function OpenDebugLog

internal/tui/debuglog.go:30–44  ·  view source on GitHub ↗

OpenDebugLog truncates /log.txt and opens it for writing. On failure it reports once on stderr and disables logging: the log must never block the TUI from starting. 0o600 because the log captures every prompt: /hamrpass and bash args can carry secrets even past the slash redaction below.

(dir string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

mainFunction · 0.92
TestCtxPressureTripwireFunction · 0.85

Calls 1

dbgWritefFunction · 0.85