Skip to main content

A simple logging package, Loglarni filega yozib borish uchun kichik packege

Project description

WriteLogger

WriteLogger - Bu Loglarni filega yozib borish uchun kichik packege.

O'rnatish

Paketni o'rnatish uchun quyidagi buyruqni ishga tushiring:

pip install log-writer

Foydalanish

import pathlib from log_writer.logger import WriteLogger

Bazaviy direktoriyani aniqlang

BASE_DIR = pathlib.Path(__file__).parent

WriteLogger obyektini yaratish

logger = WriteLogger(BASE_DIR)

Info log yozish

logger.info("This is an informational message.")

Error log yozish

logger.error("This is an error message.")

Qo'shimcha Ma'lumot

Agar qo'shimcha savollaringiz bo'lsa yoki muammolarga duch kelsangiz, quyidagi manzil orqali menga murojaat qiling:

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

log_writer-1.0.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file log_writer-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: log_writer-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for log_writer-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 13fc0875ec8f98fd9443d8dfdb0fa6d6fb22148d3eb7ea1eb1a311b0d549f698
MD5 586878a212ee13e37fff5b5027f5f069
BLAKE2b-256 4654e0b395649d3da7f10c22843072f9534a8e5fdd14526e15613259fdf279e6

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