Skip to content
Back to skills

Gum Tool Logging

ASecurity

Diagnostic logging in the Gum tool via Gum.Diagnostics.ToolLog. Triggers: adding logging to hunt a bug, ToolLog, tool.log, TextureDiagnostics, "add logs", reading a log the user reproduced into.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 24, 2026
designgo

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add vchelaru/Gum --skill gum-tool-logging --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gum Tool Logging?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gum Tool Logging
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vchelaru-gum-tool-logging/badge)](https://www.skillsdirectory.com/skills/vchelaru-gum-tool-logging)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gum-tool-logging
description: Diagnostic logging in the Gum tool via Gum.Diagnostics.ToolLog. Triggers: adding logging to hunt a bug, ToolLog, tool.log, TextureDiagnostics, "add logs", reading a log the user reproduced into.
---

# Gum Tool Logging

All tool diagnostics go through `Gum.Diagnostics.ToolLog` (`Tools/Gum.Presentation/Diagnostics/ToolLog.cs`). Never add a second logger. `Wireframe/TextureDiagnostics.cs` is an example of a thin helper that builds on it.

## Rules (from the user)

- Debug builds only. Release writes nothing and allocates nothing.
- One file per tool session, named by the time the app started, so history is kept. The user never clears or deletes a log; the agent reads the newest one.
- The agent deletes logs older than a month when it reads logs. The tool does not prune them.
- Logging grows over time: add stages and events whenever they make the picture clearer. Start lines with a searchable prefix (`texture.drop`) and rename prefixes freely.
- Never log per frame. Logging in shared runtime code (`GumCommon`, `RenderingLibrary`, `MonoGameGum`, other runtimes) is temporary and comes out once the bug is found; tool-side logging stays.

## Where the files are

`%TEMP%\Gum\Logs\tool-yyyyMMdd-HHmmss.log`, one per session (`ToolLog.DefaultPath`); read the newest. `GUM_TOOL_LOG` overrides the path. `GumPreview` has its own log (`PreviewDebugLog`, `preview.log` plus `.previous`) that shares `DiagnosticLogFile`; tests are in `AlwaysOnDebugLogTests`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.