---
sidebar:
  label: roboto.logging
  order: 16
title: roboto.logging
---
## Module Contents

### LOGGER_NAME

```python
roboto.logging.LOGGER_NAME = 'roboto'
```

`from roboto.logging import LOGGER_NAME`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/logging.py#L9-L9)

Name of the logger the SDK writes its log messages to.

Every SDK logger is this logger or one of its children, so setting this logger's level, for example with `logging.getLogger("roboto").setLevel(logging.DEBUG)`, sets how much the whole SDK logs.

### default_logger()

```python
def roboto.logging.default_logger()
```

`from roboto.logging import default_logger`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/logging.py#L17-L19)

Return the logger named `LOGGER_NAME`.

### maybe_pluralize()

```python
def roboto.logging.maybe_pluralize(word: str, count: int) -> str
```

`from roboto.logging import maybe_pluralize`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/logging.py#L22-L33)

Return `word` unchanged when `count` is 1, and with `s` appended otherwise.

[`download_files()`](/docs/reference/python-sdk/roboto/domain/files/file_system#roboto.domain.files.file_system.FileSystem.download_files) and [`upload_files()`](/docs/reference/python-sdk/roboto/domain/files/file_system#roboto.domain.files.file_system.FileSystem.upload_files) label their progress bars through it, as in "Downloading 3 files", so most code never calls it.

**Parameters**

- **word** (`str`): Singular noun to pluralize.
- **count** (`int`): Number of things `word` describes.

**Returns**

- `str`
