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 hashes)

Uploaded Python 3

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