logger(...) when you want request-aware logs around tool execution without wiring your own hooks every time.
Basic example
Send logs somewhere else
Good use cases
- local debugging
- structured request logs
- pairing with log drains or observability tooling
- lightweight visibility before building custom hooks