Function dump_logs_from_socket

Source
pub async fn dump_logs_from_socket<F, S>(
    socket: Socket,
    formatter: &mut F,
    symbolizer: &S,
    include_timestamp: bool,
) -> Result<LogProcessingResult, JsonDeserializeError>
where F: LogFormatter + BootTimeAccessor, S: Symbolize + ?Sized,
Expand description

Reads logs from a socket and formats them using the given formatter and symbolizer.