Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aniketmaurya committed Sep 20, 2024
1 parent 8fc2321 commit b8d9c72
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/litserve/loggers.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,12 @@ def process(self, key, value):


class _LoggerConnector:
"""Connects Logger with LitServer and manages the logger instances.
"""_LoggerConnector is responsible for connecting Logger instances with the LitServer and managing their lifecycle.
- log queue is a multiprocessing.Queue where the log data is put using the LitAPI.log method.
- The connector starts a new process to consume the log queue and process the log data.
This class handles the following tasks:
- Manages a queue (multiprocessing.Queue) where log data is placed using the LitAPI.log method.
- Initiates a separate process to consume the log queue and process the log data using the associated
Logger instances.
"""

Expand Down

0 comments on commit b8d9c72

Please sign in to comment.