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:
- email: zohidilloturgunov@mail.ru
- github: ZohidilloPr
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13fc0875ec8f98fd9443d8dfdb0fa6d6fb22148d3eb7ea1eb1a311b0d549f698
|
|
| MD5 |
586878a212ee13e37fff5b5027f5f069
|
|
| BLAKE2b-256 |
4654e0b395649d3da7f10c22843072f9534a8e5fdd14526e15613259fdf279e6
|