adrielc/helios-alpha/golem-logging-rust
- community
Checking that the SKILL.md file is still in the repository.
Adding logging to a Rust Golem agent. Use when the user asks about logging, log messages, log levels, the log crate, or printing debug/info/error output from a Rust agent.
Install
npx vskill@latest install adrielc/helios-alpha/golem-logging-rustSKILL.md
Logging from a Rust Agent
Golem provides structured logging via the standard log crate. The SDK initializes the logger automatically when the agent starts — no setup code is needed.
Quick Start
The log crate is already in the project's Cargo.toml (added by golem new). Use the standard macros:
Log Levels
| Macro | Use for | |
|---|---|---|
log::trace! | Fine-grained control flow, variable values | |
log::debug! | Debugging information | |
log::info! | Monitoring, normal operations | |
log::warn! | Hazardous situations, degraded behavior | |
log::error! | Serious errors |
Structured Key-Value Logging
The log crate's kv feature is enabled by default. Pass structured context as key-value pairs:
Key-value pairs appear before the ; separator.
Using println! / eprintln!
Standard output and error streams also work and are captured by Golem:
These appear in golem agent stream output but lack log levels and context. Prefer log::* macros for structured, filterable logging.
Viewing Logs
Stream live agent output (stdout, stderr, and log channels):
Or during an invocation:
Key Points
- No initialization needed —
golem-rustinstalls the logger automatically during agent startup - `log` crate is pre-configured — it is already in the template
Cargo.tomlwith thekvfeature - Logs are recorded in the oplog and visible via
golem agent streamandgolem agent invoke - Logging is a side effect — during replay (crash recovery), log calls from replayed operations are skipped; only new invocations produce log output
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinggolem/.agents/skills/golem-logging-rust/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/adrielc/helios-alpha/golem-logging-rust)