Skip to main content

loguru + rich = logrich

Project description

Логгер

Совместная работа loguru & rich.

Screenshot logger
Screenshot logger2

Screenshot logger

Screenshot logger too

Уровень вывода исключений определяется в переменных окружения. Цвета, ширины и шаблоны вывода также могут быть определены в окружении.

Обработчики записей логов можно определять дополнительно, например запись в файл или отправка в канал.

Использование

смотри тест

Как развернуть:

git clone 
cd logrich
poetry shell
poetry install
# создаём окружение
cp template.env .env

Запустить тест(ы):

pytest
# монитор тестов
ptw

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logrich-1.0.7.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

logrich-1.0.7-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file logrich-1.0.7.tar.gz.

File metadata

  • Download URL: logrich-1.0.7.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.10.6 Linux/5.15.0-118-generic

File hashes

Hashes for logrich-1.0.7.tar.gz
Algorithm Hash digest
SHA256 cd16c69739e89856907165486ef6c555f9b444a93e2f998c9f70f0fdbf7d9383
MD5 a5814f1a2b0331d9138614b70d485e58
BLAKE2b-256 c9e645be1316b43945ba6a4d96de6c7a380b1c1298e9e1e3829f7b1b604ae1b7

See more details on using hashes here.

File details

Details for the file logrich-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: logrich-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.10.6 Linux/5.15.0-118-generic

File hashes

Hashes for logrich-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 65c472c231148ef6debae37a8e0f2c7eabf4228c68d757913d435ae306cb5b36
MD5 04df713547c93351385be42f8d79d170
BLAKE2b-256 d5209d79a11678de02efcc08467ce40665d77abf760b18e81af1a82c84df45bc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page