logging-guidelines

Official

Enforce clean, consistent logging across Sagebase

Authorsage-base
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Sagebase projects often mix print statements with logging, leading to unstructured, hard-to-maintain output. This Skill standardizes logging practices across the codebase to improve observability and security.

Core Features & Use Cases

  • Enforces logger usage over print statements across modules to ensure consistent log capture.
  • Defines module-level logger initialization and structured log context for better traceability.
  • Guides appropriate log levels and redaction of sensitive data to support debugging and compliance.

Quick Start

Adopt the logging guidelines in a new or existing module. Replace any print statements with logger calls, initialize a module-level logger via logger = logging.getLogger(name), and attach contextual fields using structured logging.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: logging-guidelines
Download link: https://github.com/sage-base/sagebase/archive/main.zip#logging-guidelines

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.