LoggingPlugin
A plugin that logs a high volume of requests and responses handled by the agent at each callback point.
This plugin is primarily intended for ADK development and debugging purposes, helping to print all critical events in the console.
CAUTION: The plugin logs raw requests / responses, including user prompts. Be mindful of sensitive data disclosure.
Properties
Functions
Callback executed after a specific agent finishes its processing.
Callback executed after an LLM response is received.
Callback executed after the ADK runner completes its execution.
Callback executed before a specific agent starts processing.
Callback executed before an LLM request is sent.
Callback executed before the ADK runner starts the main execution loop.
Callback executed before a tool is invoked.
Callback executed when an event is yielded by an agent during execution.
Callback executed when an error occurs during an LLM interaction.
Callback executed when an error occurs during a tool invocation.
Callback executed when a user message is received before an invocation starts.