feat(logging): add get_logger helper

This commit is contained in:
2026-01-02 12:45:17 -05:00
parent 163b48f1f4
commit d6fb3f4ef0
2 changed files with 23 additions and 0 deletions

View File

@@ -104,3 +104,8 @@ def format_tool_log(
line += f"\n {error_message}"
return line
def get_logger(name: str) -> logging.Logger:
"""Get a child logger under the grist_mcp namespace."""
return logging.getLogger(f"grist_mcp.{name}")