zzstoatzz commited on
Commit
13bdbd3
·
1 Parent(s): c1dbfd7
Files changed (1) hide show
  1. src/fastmcp/utilities/logging.py +3 -3
src/fastmcp/utilities/logging.py CHANGED
@@ -7,15 +7,15 @@ from rich.logging import RichHandler
7
 
8
 
9
  def get_logger(name: str) -> logging.Logger:
10
- """Get a logger nested under fastmcp namespace.
11
 
12
  Args:
13
- name: the name of the logger, which will be prefixed with 'fastmcp.'
14
 
15
  Returns:
16
  a configured logger instance
17
  """
18
- return logging.getLogger(f"fastmcp.{name}")
19
 
20
 
21
  def configure_logging(
 
7
 
8
 
9
  def get_logger(name: str) -> logging.Logger:
10
+ """Get a logger nested under FastMCP namespace.
11
 
12
  Args:
13
+ name: the name of the logger, which will be prefixed with 'FastMCP.'
14
 
15
  Returns:
16
  a configured logger instance
17
  """
18
+ return logging.getLogger(f"FastMCP.{name}")
19
 
20
 
21
  def configure_logging(