logging
fastmcp.utilities.logging
Logging utilities for FastMCP.
Functions
get_logger
Get a logger nested under FastMCP namespace.
Args:
name
: the name of the logger, which will be prefixed with ‘FastMCP.’
Returns:
- a configured logger instance
configure_logging
Configure logging for FastMCP.
Args:
logger
: the logger to configurelevel
: the log level to use