← スキル一覧に戻る

loguru
by optivent
Zero-hallucination Claude skill generation pipeline with CodeWiki, Context7, AST, and Bubblewrap integration
⭐ 0🍴 0📅 2026年1月8日
SKILL.md
name: loguru description: Python logging made (stupidly) simple. Focuses on a single, global logger with progressive disclosure to deep source understanding. version: 1.0.0
Loguru: Simplified Python Logging
Loguru replaces the standard logging module with a more powerful, easier-to-use API. This skill provides the "Surface Layer" (Tier 1) for rapid onboarding.
Quick Start
from loguru import logger
# Add a sink (Tier 1: Basic Usage)
logger.add("file.log", rotation="500 MB")
# Log something
logger.info("That is it, beautiful and simple logging!")
Core Patterns
| Feature | Pattern | Description |
|---|---|---|
| Sinks | logger.add(sys.stderr, format="{time} {level} {message}") | Configure where logs go. |
| Levels | logger.debug("Debug msg"), logger.warning("Warn msg") | Standard logging levels. |
| Exceptions | @logger.catch | Decorator to capture and log exceptions with full stack traces. |
| Parsing | logger.parse(file) | Extract structured data from log files. |
Progressive Disclosure (The Iceberg)
For deeper understanding, "dive" into the following references:
- Core Concepts (Tier 2): Architectural purpose, Sinks, and Log Levels.
- Source Bedrock (Tier 3): Mapping patterns to the physical Python source code and AST nodes.
- Examples: Complex usage scenarios verified against the sandbox.
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です