# logger

URL: /patitas/api/utils/logger/
Section: utils
Description: Minimal logging utilities for Patitas.

Provides a simple get_logger function that wraps the standard library logging.

Example:
    >>> from patitas.utils.logger import get_logger
    >>> logger = get_logger(__name__)
    >>> logger.info("Parsing document")

---

> For a complete page index, fetch /patitas/llms.txt.

Open LLM text
(/patitas/api/utils/logger/index.txt)

Share with AI

Ask Claude
(https://claude.ai/new?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpatitas%2Fapi%2Futils%2Flogger%2Findex.txt)

Ask ChatGPT
(https://chatgpt.com/?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpatitas%2Fapi%2Futils%2Flogger%2Findex.txt)

Ask Gemini
(https://gemini.google.com/app?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpatitas%2Fapi%2Futils%2Flogger%2Findex.txt)

Ask Copilot
(https://copilot.microsoft.com/?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fpatitas%2Fapi%2Futils%2Flogger%2Findex.txt)

Module

#
`utils.logger`

Minimal logging utilities for Patitas.

Provides a simple get_logger function that wraps the standard library logging.

Example:

```
>>> from patitas.utils.logger import get_logger
>>> logger = get_logger(__name__)
>>> logger.info("Parsing document")
```

1Function

## Functions

`get_logger`

1

`logging.Logger`

▼

Get a logger for the given name.

Returns a standard library logger with the "p…

`def get_logger(name: str) -> logging.Logger`

Get a logger for the given name.

Returns a standard library logger with the "patitas." prefix.

##### Parameters

Name
Type
Description

`name`
`str`

Logger name (typically name)

##### Returns

`logging.Logger`
