No project description provided
Project description
aiologstash2
asyncio logging handler for logstash.
Installation
pip install aiologstash2
Usage
import logging
from aiologstash2 import create_tcp_handler
async def init_logger():
handler = await create_tcp_handler('127.0.0.1', 5000)
root = logging.getLogger()
root.setLevel(logging.DEBUG)
root.addHandler(handler)
Thanks
This is an actively maintained fork of aio-libs' aiologstash
The library was donated by Ocean S.A.
Thanks to the company for contribution.
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 Distribution
aiologstash2-2.0.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for aiologstash2-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0177c36b4ba31e6f670c0a94fa753513fb8d31f3b3a315011e742864e33b356 |
|
MD5 | b194cbe80fc1b557c9a3ba48adb79bba |
|
BLAKE2b-256 | 35c67bfd07624a76b28bb5f26c75cfa3e1e096b2d4ea4294fde50bc1c23fe638 |