This commit is contained in:
zzstoatzz 2024-11-30 19:03:50 -06:00
commit 5c117fd4fe

View file

@ -7,15 +7,15 @@ 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:
name: the name of the logger, which will be prefixed with 'fastmcp.'
name: the name of the logger, which will be prefixed with 'FastMCP.'
Returns:
a configured logger instance
"""
return logging.getLogger(f"fastmcp.{name}")
return logging.getLogger(f"FastMCP.{name}")
def configure_logging(