semvec/pypi-packages huggingface dataset:
logging-utils-tddschn 0.1.10
Logging utilities for personal use.
License: MIT
Requires Python: >=3.10,<4.0
Keywords: logging

# logging-utils-tddschn

Logging utilities for personal use.

- [logging-utils-tddschn](#logging-utils-tddschn)
	- [Install](#install)
	- [Example Usage](#example-usage)
		- [`get_logger`](#get_logger)
## Install
```
$ pip install logging-utils-tddschn
```

## Example Usage

### [`get_logger`](logging_utils_tddschn/utils.py)

Check the source code linked above to learn more about the arguments.

```python
from logging_utils_tddschn import get_logger

logger, _ = get_logger(__name__)
logger.info('Logging from logging-utils-tddschn!')
```

```
_DEBUG=1 python3 app.py
# prints something like
# INFO:tests.test_utils_naive:/Users/tddschn/app.py:5:my_func:Logging from logging-utils-tddschn!

# logging is turned off (sent to NullHandler) if you don't set env var _DEBUG or it's set to false.
```