Setup Tfe Logging banner
GGPrompts GGPrompts

Setup Tfe Logging

Productivity community

Description

--- description: Add debug event logging to TFE for real-time monitoring --- # Setup TFE Event Logging You are adding debug event logging to TFE so I can monitor what's happening in the application in real-time. ## Your Task Add a debug logging system to TFE that logs events to `/tmp/tfe-events.jsonl`. ### Step 1: Add Debug Logger to Model Edit `types.go` to add a debug log file handle: ```go type model struct { // ... existing fields ... debugLog *os.File // Add this field } ```

Installation

Installs to ~/.claude/commands/ggprompts-tfe-setup-tfe-logging.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/GGPrompts/TFE/HEAD/.claude/commands/setup-tfe-logging.md -o ~/.claude/commands/ggprompts-tfe-setup-tfe-logging.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository