Skip to main content
Version: 2.5

StreamedLog

Utility class for streaming logs from another Actor.

It uses buffer to deal with possibly chunked logs. Chunked logs are stored in buffer. Chunks are expected to contain specific markers that indicate the start of the log message. Each time a new chunk with complete split marker arrives, the buffer is processed, logged and emptied.

This works only if the logs have datetime marker in ISO format. For example, 2025-05-12T15:35:59.429Z This is the default log standard for the actors.

Index

Constructors

Constructors

__init__

  • __init__(to_logger, *, from_start): None
  • Initialize StreamedLog.


    Parameters

    • to_logger: logging.Logger
    • keyword-onlyfrom_start: bool = True

    Returns None

Page Options