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

# Base

> systematica.portfolio.messengers.base

## `BaseMessenger`

```python theme={null}
BaseMessenger(
    template_name: str = None,
)
```

Abstract base class for messengers.

Initialize the Logger.

**Parameters**:

| Name            | Type  | Default | Description                                                                                                 |
| --------------- | ----- | ------- | ----------------------------------------------------------------------------------------------------------- |
| `strategy_name` | `str` | `None`  | The name of the strategy for which the logger is created. If not provided, the default root logger is used. |

### Ancestors

* `abc.ABC`
* `systematica.utils.logger.Logger`

### Descendants

* `systematica.portfolio.messengers.slack.SlackMessenger`

### Methods

#### `send`

```python theme={null}
send(
    self,
    msg: str,
)
```

Send a message.

**Parameters**:

| Name  | Type  | Default | Description          |
| ----- | ----- | ------- | -------------------- |
| `msg` | `str` | `--`    | The message to send. |
