AGENT SKILL

logging

Implement structured logging - use in all production code

License 许可
MIT
所属仓库
11vated/Nexus
最近更新
2026-06-19
Stars
★ 0
Forks
0

01 前言 Front Matter

name
logging
model
qwen2.5-coder:14b
tools
Bash, Read, Write
description
Implement structured logging - use in all production code

03 SKILL.md 正文

Logging Skill

Python Logging

import logging
logger = logging.getLogger(__name__)
logger.info("Starting process")
logger.error("Failed", exc_info=True)

Best Practices

  • Use appropriate levels: DEBUG, INFO, WARNING, ERROR
  • Include context in messages
  • Log exceptions with traceback

04 同仓库更多 Skills