File: asynchandler.py

package info (click to toggle)
python-fluent-logger 0.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 216 kB
  • sloc: python: 1,804; makefile: 3
file content (10 lines) | stat: -rw-r--r-- 218 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
from fluent import asyncsender, handler


class FluentHandler(handler.FluentHandler):
    """
    Asynchronous Logging Handler for fluent.
    """

    def getSenderClass(self):
        return asyncsender.FluentSender