# Verbose Utils

**Module:** `sovai.utils.verbose_utils`

## Classes

### `VerboseMode`

```python
class VerboseMode
```

Utility class to handle verbose output throughout the application.

This class provides a consistent interface for controlling debug output without cluttering the main code with conditional print statements.

**Attributes**

* `verbose`

**Methods**

### `__init__()`

```python
def __init__(self, verbose: bool = False)
```

Initialize verbose mode settings.

**Parameters**

| Parameter | Type   | Description                      |
| --------- | ------ | -------------------------------- |
| `verbose` | `bool` | Whether to enable verbose output |

***

### `log()`

```python
def log(self, args = (), kwargs = {}) -> None
```

Print information when verbose mode is enabled.

**Returns:** `None`

***

### `toggle_verbose()`

```python
def toggle_verbose(self, verbose: Optional[bool] = None) -> None
```

Toggle or set verbose mode.

**Parameters**

| Parameter | Type             | Description                                                   |
| --------- | ---------------- | ------------------------------------------------------------- |
| `verbose` | `Optional[bool]` | If provided, set verbose mode to this value; otherwise toggle |

**Returns:** `None`

***

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sov.ai/api-reference/utils/verbose-utils.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
