Expand description
Helpers for capturing logs from Fuchsia processes.
Structs§
- Collects logs in background and gives a way to collect those logs.
- A stream bound to a socket where a source stream is captured. For example, stdout and stderr streams can be redirected to the contained socket and captured.
- Utility struct to write to socket asynchrously.
Enums§
- Error returned from draining LoggerStream or writing to LogWriter.
- Error returned by this library.
Functions§
- Creates a socket handle for stdout/stderr and hooks it to a file handle. It also wraps the socket into stream and returns it back.
- Creates a combined socket handle for stdout and stderr and hooks them to same socket. It also wraps the socket into stream and returns it back.