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

# semantic_router.utils.logger

## CustomFormatter Objects

```python theme={null}
class CustomFormatter(colorlog.ColoredFormatter)
```

Custom formatter for the logger.

#### add\_coloured\_handler

```python theme={null}
def add_coloured_handler(logger)
```

Add a coloured handler to the logger.

#### setup\_custom\_logger

```python theme={null}
def setup_custom_logger(name)
```

Setup a custom logger.
