chore: logger = logging.getLogger(__name__) --> logger = logging.getLogger('google_adk.' + __name__)

PiperOrigin-RevId: 760019467
This commit is contained in:
Wei Sun (Jack) 2025-05-17 09:47:23 -07:00 committed by Copybara-Service
parent 0d7d7918b6
commit 729001fc0b
6 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ from ..tools.agent_tool import AgentTool
from ..tools.base_tool import BaseTool from ..tools.base_tool import BaseTool
from ..tools.function_tool import FunctionTool from ..tools.function_tool import FunctionTool
logger = logging.getLogger(__name__) logger = logging.getLogger('google_adk.' + __name__)
try: try:
from ..tools.retrieval.base_retrieval_tool import BaseRetrievalTool from ..tools.retrieval.base_retrieval_tool import BaseRetrievalTool

View File

@ -35,7 +35,7 @@ from ..sessions.base_session_service import BaseSessionService
from ..sessions.session import Session from ..sessions.session import Session
from .utils import common from .utils import common
logger = logging.getLogger(__name__) logger = logging.getLogger("google_adk." + __name__)
class EvalMetric(common.BaseModel): class EvalMetric(common.BaseModel):

View File

@ -77,7 +77,7 @@ class HelpfulCommand(click.Command):
ctx.exit(2) ctx.exit(2)
logger = logging.getLogger(__name__) logger = logging.getLogger("google_adk." + __name__)
@click.group(context_settings={"max_content_width": 240}) @click.group(context_settings={"max_content_width": 240})

View File

@ -85,7 +85,7 @@ from .utils import create_empty_state
from .utils import envs from .utils import envs
from .utils import evals from .utils import evals
logger = logging.getLogger(__name__) logger = logging.getLogger("google_adk." + __name__)
_EVAL_SET_FILE_EXTENSION = ".evalset.json" _EVAL_SET_FILE_EXTENSION = ".evalset.json"
_EVAL_SET_RESULT_FILE_EXTENSION = ".evalset_result.json" _EVAL_SET_RESULT_FILE_EXTENSION = ".evalset_result.json"

View File

@ -19,7 +19,7 @@ from .built_in_code_executor import BuiltInCodeExecutor
from .code_executor_context import CodeExecutorContext from .code_executor_context import CodeExecutorContext
from .unsafe_local_code_executor import UnsafeLocalCodeExecutor from .unsafe_local_code_executor import UnsafeLocalCodeExecutor
logger = logging.getLogger(__name__) logger = logging.getLogger('google_adk.' + __name__)
__all__ = [ __all__ = [
'BaseCodeExecutor', 'BaseCodeExecutor',

View File

@ -26,7 +26,7 @@ from pytest import Metafunc
from .utils import TestRunner from .utils import TestRunner
logger = logging.getLogger(__name__) logger = logging.getLogger('google_adk.' + __name__)
def load_env_for_tests(): def load_env_for_tests():