Module logging

Source

Structs§

LocalLogSender
Write the log to a local unix channel so some actors can listen to it and stream the log back.
LogClientActor
A client to receive logs from remote processes
LogForwardActor
A log forwarder that receives the log from its parent process and forward it back to the client
LogWriter
A custom writer that tees to both stdout/stderr. It captures output lines and sends them to the child process.

Enums§

LogClientMessage
Messages that can be sent to the LogClient locally.
LogForwardMessage
Messages that can be sent to the LogWriterActor
LogMessage
Messages that can be sent to the LogClientActor remotely.
OutputTarget
Represents the target output stream (stdout or stderr)

Traits§

LogClientMessageClient
The custom client trait for this message type.
LogClientMessageHandler
The custom handler trait for this message type.
LogForwardMessageClient
The custom client trait for this message type.
LogForwardMessageHandler
The custom handler trait for this message type.
LogMessageClient
The custom client trait for this message type.
LogMessageHandler
The custom handler trait for this message type.
LogSender
Trait for sending logs

Functions§

create_log_writers
Helper function to create stdout and stderr LogWriter instances