Skip to main content

attach_log_stream

Function attach_log_stream 

Source
pub fn attach_log_stream(
    recent_limit: usize,
) -> Result<AttachedLogStream, LogStreamError>
Expand description

Attach a log stream with a recent replay window.

This returns a bounded recent replay plus a live receiver so callers can render current logs immediately and then continue tailing new entries. Pass 0 to replay the entire in-memory history window.