Skip to main content

Создание файлов конфигураци

Project description

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

from logsmal import logger

logger.success("Программа запущена", flag="RUN")

Создать кастомный логгер. Посмотрите все доступные аргменты :meth:logsmal.loglevel.__init__()

from logsmal import loglevel, logger, CompressionLog

logger.MyLogger = loglevel(
    level="[melogger]",
    fileout="./log/mylog.log",
    max_size_file="10kb",
    console_out=False,
    compression=CompressionLog.zip_file
)

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

logsmal-0.0.5.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

logsmal-0.0.5-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file logsmal-0.0.5.tar.gz.

File metadata

  • Download URL: logsmal-0.0.5.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.13.0-30-generic

File hashes

Hashes for logsmal-0.0.5.tar.gz
Algorithm Hash digest
SHA256 25625c3ab6d549eb257f2c7de4732c740a2ec41376d6b26bd86444adc3f902c2
MD5 5b91d4b190975c8a594949012ae1fcc9
BLAKE2b-256 05df10af1eb2c6ea97679f18d7978f430b27967991f39e4acda55e76dd9daab3

See more details on using hashes here.

File details

Details for the file logsmal-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: logsmal-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.13.0-30-generic

File hashes

Hashes for logsmal-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 dc0b77b667efb7d1302085653b84c95c4ec6ab42bf853a00c94f740e52558ab8
MD5 e51c316cab8d47c4bf01d0701d445eb0
BLAKE2b-256 3f2f79918524e85166fd57f191ff13affeb8b2693c68836d0505f780ba115276

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