mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 05:24:18 +02:00
more
This commit is contained in:
parent
0168c86ae0
commit
5c117fd4fe
1 changed files with 3 additions and 3 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue