Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

rm random diff

zzstoatzz0168c86ae058
diff --git a/src/fastmcp/utilities/logging.py b/src/fastmcp/utilities/logging.py
index 75de423ae..24f98012c 100644
--- a/src/fastmcp/utilities/logging.py
+++ b/src/fastmcp/utilities/logging.py
@@ -1,4 +1,4 @@
-"""logging utilities for fastmcp"""
+"""Logging utilities for FastMCP."""
import logging
from typing import Literal
@@ -7,12 +7,12 @@ from rich.logging import RichHandler
def get_logger(name: str) -> logging.Logger:
- """get a logger nested under fastmcp namespace.
+ """Get a logger nested under fastmcp namespace.
- args:
+ Args:
name: the name of the logger, which will be prefixed with 'fastmcp.'
- returns:
+ Returns:
a configured logger instance
"""
return logging.getLogger(f"fastmcp.{name}")
@@ -21,9 +21,9 @@ def get_logger(name: str) -> logging.Logger:
def configure_logging(
level: Literal["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"] = "INFO",
) -> None:
- """configure logging for fastmcp.
+ """Configure logging for FastMCP.
- args:
+ Args:
level: the log level to use
"""
logging.basicConfig(