multiAI Summary Pending
error-logger
Structured JSON logging with correlation IDs for multi-service systems. Use when implementing logging, debugging failures, or tracing errors across services. Triggers on: add logging, error handling, debug failures, trace errors.
231 stars
Installation
Claude Code / Cursor / Codex
$curl -o ~/.claude/skills/error-logger/SKILL.md --create-dirs "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/barissozen/error-logger/SKILL.md"
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/error-logger/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How error-logger Compares
| Feature / Agent | error-logger | Standard Approach |
|---|---|---|
| Platform Support | multi | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Structured JSON logging with correlation IDs for multi-service systems. Use when implementing logging, debugging failures, or tracing errors across services. Triggers on: add logging, error handling, debug failures, trace errors.
Which AI agents support this skill?
This skill is compatible with multi.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Error Logger
Structured JSON logging with correlation IDs for multi-service systems.
## When to Use
- Implementing logging infrastructure
- Debugging failures across services
- Tracing errors with correlation IDs
- Adding error handling to operations
- Reviewing logging patterns
## Workflow
### Step 1: Create Operation Context
Start operation with appropriate prefix (liq_, arb_, quo_, op_).
### Step 2: Log with Context
Include correlation ID in all related log entries.
### Step 3: Propagate Correlation ID
Pass via X-Correlation-ID header across services.
---
## Log Format
```json
{
"timestamp": "2024-01-15T14:32:01.847Z",
"level": "ERROR",
"correlation_id": "liq_18d4f2a1_x7k9",
"service": "rust-hotpath",
"event_type": "TX_REVERT",
"message": "Liquidation reverted",
"context": {}
}
```
## Correlation ID
Format: `{prefix}_{timestamp_hex}_{random}`
Prefixes: `liq_`, `arb_`, `quo_`, `op_`
## Usage
```typescript
const ctx = log.startOperation('liq');
log.error(ctx, 'TX_REVERT', 'Failed', { tx_hash, gas_used });
// Propagate via HTTP
headers: { 'X-Correlation-ID': ctx.correlation_id }
```
## Log Levels
| Level | Use For |
|-------|---------|
| ERROR | Operation failures |
| WARN | Retries, recoverable |
| INFO | Normal operations |
| DEBUG | Calculations |