MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / get_logger

Function get_logger

camel/logger.py:104–113  ·  view source on GitHub ↗

r"""Get a logger with the specified name, prefixed with 'camel.'. Args: name (str): The name to be appended to 'camel.' to create the logger. Returns: logging.Logger: A logger instance with the name 'camel.{name}'.

(name)

Source from the content-addressed store, hash-verified

102
103
104def get_logger(name):
105 r"""Get a logger with the specified name, prefixed with 'camel.'.
106
107 Args:
108 name (str): The name to be appended to 'camel.' to create the logger.
109
110 Returns:
111 logging.Logger: A logger instance with the name 'camel.{name}'.
112 """
113 return logging.getLogger(f'camel.{name}')
114
115
116# Lazy configuration: Only configure logging if explicitly enabled.

Callers 15

vlm_embedding.pyFile · 0.90
token_counting.pyFile · 0.90
babyagi_playing.pyFile · 0.90
twitter_toolkit.pyFile · 0.90
arxiv_toolkit.pyFile · 0.90
e2b_interpreter.pyFile · 0.90
discord_app.pyFile · 0.90
huggingface.pyFile · 0.90
deepseek_model.pyFile · 0.90
cotdatagen.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected