falcon-logger-0.0.1
توضیحات
Falcon Logger - twice as fast as standard python logger
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | falcon-logger-0.0.1 |
| نام | falcon-logger |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | JA |
| ایمیل نویسنده | cppgent0@gmail.com |
| آدرس صفحه اصلی | https://bitbucket.org/arrizza-public/falcon-logger/src/master |
| آدرس اینترنتی | https://pypi.org/project/falcon-logger/ |
| مجوز | MIT |
# Falcon Logger #
This is a python module that provides a way to run a fast logger.
Peregrine Falcons are the fastest anaimals alive (according to Google).
They go that fast by having as minimal drag as possible.
### Sample code ###
see sample.py for a full example
```python
from falcon_logger import FalconLogger
```
## Sample
Use doit script to run the logger and compare against other loggers.
To run the FalconLogger:
```bash
./doit falcon
./doit falcon --numlines=100000
```
To run the others loggers:
```bash
./doit stdout # no file, just stdout
./doit normal # use the python logger
./doit rsyslog # use the rsyslog python module
```
## Comparing Times
The overall time is very dependent on which OS you use and the speed of your computer
```text
on MSYS2 for 100,000 lines:
stdout: total time: 3170.0 ms
falcon: total time: 3623.9 ms
normal: total time: 5722.8 ms
rsyslog fails with an exception
```
نحوه نصب
نصب پکیج whl falcon-logger-0.0.1:
pip install falcon-logger-0.0.1.whl
نصب پکیج tar.gz falcon-logger-0.0.1:
pip install falcon-logger-0.0.1.tar.gz