+
    wi'                     :    R t ^ RIt^ RIHt R R ltRR R lltR# )zLogging utilities for FastMCP.NLiteralc                D    V ^8  d   QhR\         R\        P                  /# )   namereturn)strloggingLogger)formats   "X/home/ubuntu/.local/lib/python3.14/site-packages/mcp/server/fastmcp/utilities/logging.py__annotate__r      s     	# 	#S 	#W^^ 	#    c                .    \         P                  ! V 4      # )zGet a logger nested under MCPnamespace.

Args:
    name: the name of the logger, which will be prefixed with 'FastMCP.'

Returns:
    a configured logger instance
)r	   	getLogger)r   s   &r   
get_loggerr      s     T""r   c                6    V ^8  d   QhR\         R,          RR/# )r   levelr   N)DEBUGINFOWARNINGERRORCRITICALr   )r   s   "r   r   r      s"      BC	r   c                   . p ^ RI Hp ^ RIHp VP	                  V! V! RR7      RR7      4       V'       g%   VP	                  \        P                  ! 4       4       \        P                  ! V RVR7       R#   \
         d     LTi ; i)	zBConfigure logging for MCP.

Args:
    level: the log level to use
)Console)RichHandlerT)stderr)consolerich_tracebacksz%(message)s)r   r   handlersN)	rich.consoler   rich.loggingr   appendImportErrorr	   StreamHandlerbasicConfig)r   r   r   r   s   &   r   configure_loggingr&      sr     ')H(,G4,@RVWX --/0  s   ,A7 7BB)r   )__doc__r	   typingr   r   r&    r   r   <module>r*      s    $  	# r   