exclog-0.0.1
توضیحات
Easy python exception logging tool
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | exclog-0.0.1 |
| نام | exclog |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Matvei Prudnikov |
| ایمیل نویسنده | m.d.prudnik@gmail.com |
| آدرس صفحه اصلی | https://github.com/mtvy/exclog.git |
| آدرس اینترنتی | https://pypi.org/project/exclog/ |
| مجوز | MIT |
==================
Exclog
==================
Logging decorator.
out ->
brief : function that takes a string.
default : print
rtrn ->
brief : exclog return value
default : False
t ->
brief : Error indentation
default : ''
note : Use tabulation or other symbols
Import
------
.. code-block:: bash
pip install exclog
Usage
-----
.. code-block:: python
import exclog
@exclog.logging()
def ...
def fileWrite(text : str):
...
@exclog.logging(__write=fileWrite, __rtrn='Error!', __t='\t\t')
def ...
نحوه نصب
نصب پکیج whl exclog-0.0.1:
pip install exclog-0.0.1.whl
نصب پکیج tar.gz exclog-0.0.1:
pip install exclog-0.0.1.tar.gz