orkcore-logging

Explains Orkid logging system configuration and usage for C++ and Python.

35|16|Updated Feb 10, 2013
One-click install
npx skills add https://github.com/tweakoz/orkid --skill orkcore-logging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: orkcore-logging
Source: https://github.com/tweakoz/orkid/tree/main/.claude/skills/orkcore-logging
Command: npx skills add https://github.com/tweakoz/orkid --skill orkcore-logging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides clear, actionable guidance for understanding and configuring Orkid's logging system so developers can diagnose output, route logs to the right backend, and instrument performance metrics without digging through source code blind.

Core Features & Use Cases

  • Backend configuration & selection: Explains how to choose and configure stdout, file, HTML, HTTP, or forked logging backends and relevant environment variables.
  • Channel management & filtering: Shows how to create, enable, and filter named log channels and how to interpret channel status and performance items from both C++ and Python.
  • Developer examples: Includes C++ and Python usage patterns for module channels, multi-part messages, perf items, and sensible environment-based channel toggles useful when debugging or collecting runtime telemetry.

Quick Start

Ask the orkcore-logging skill to explain how to enable the FILE backend and set per-channel filters using the ORKID_LOGGER_BACKEND and ORKID_LOGCHAN_* environment variables.

Frequently Asked Questions about orkcore-logging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Orkid logging backends using environment variables?

Configure Orkid logging backends by setting the ORKID_LOGGER_BACKEND environment variable to route output to stdout, file, HTML, HTTP, or forked destinations without modifying logger_*.cpp implementations.

How do I enable or filter specific Orkid log channels at runtime?

Filter Orkid log channels at runtime by setting ORKID_LOGCHAN_* environment variables to control named channel visibility, allowing targeted debugging and telemetry collection across C++ and Python code.

Can I instrument performance metrics in Python using Orkid logging?

Instrument performance metrics in Python using Orkid logging by leveraging Python bindings to interpret channel status and perf items, mirroring the C++ performance instrumentation API.

What logging backends does the Orkid logging system support?

The Orkid logging system supports stdout, file, HTML, HTTP, and forked backends, selectable via environment variables to route log output for different debugging and telemetry scenarios.

How do I create multi-part log messages with Orkid module channels?

Create multi-part log messages with Orkid module channels by using the C++ and Python API patterns provided in logger.h, organizing output by named channels for structured runtime diagnostics.

Why are my Orkid log channels not outputting to the configured backend?

Orkid log channels may not output if ORKID_LOGCHAN_* filters are disabled or ORKID_LOGGER_BACKEND is misconfigured, requiring verification of environment variables and backend implementation settings.