Skip to content

toonknapen/aiologstash

 
 

Repository files navigation

aiologstash

https://travis-ci.org/aio-libs/aiologstash.svg?branch=master

asyncio logging handler for logstash.

Installation

pip install aiologstash

Usage

import logging
from aiologstash 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

The library was donated by Ocean S.A.

Thanks to the company for contribution.

About

asyncio logging handler for logstash

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Makefile 0.1%