> ## 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.agentchat.contrib.vectordb.utils.get_logger

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

#### get\_logger

```python theme={null}
get_logger(name: str, level: int = 20) -> ColoredLogger
```

<b>Parameters:</b>

| Name    | Description                              |
| ------- | ---------------------------------------- |
| `name`  | **Type:** str                            |
| `level` | **Type:** int<br /><br />**Default:** 20 |

<br />
