> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.runtime_logging.log_function_use

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### log\_function\_use

```python theme={null}
log_function_use(
    agent: str | Agent,
    function: F,
    args: dict[str, Any],
    returns: any
) -> 
```

<b>Parameters:</b>

| Name       | Description               |
| ---------- | ------------------------- |
| `agent`    | **Type:** str \| Agent    |
| `function` | **Type:** F               |
| `args`     | **Type:** dict\[str, Any] |
| `returns`  | **Type:** any             |

<br />
