agentlib-logger
Observability and logging middleware for AgentLib. Provides detailed insights into agent execution, model requests, tool calls, and performance metrics.
Features
- Structured Logging: Log entries are formatted for readability.
- Transports: Direct logs to console, files, or external collectors.
- Scope Filtering: Filter logs by scope (e.g., only show tool calls or only show reasoning steps).
- Execution Timing: Automatically measures and logs the duration of each run and sub-step.
Usage
use Logger;
agent.use_middleware;