Expand description
Internal logs source that hooks into the tracing subscriber to emit own logs as events.
Structs§
- Internal
Logs Task - LogCapture
Layer - A tracing Layer that captures log messages and sends them to a channel.
Functions§
- log_
sender - Returns a Sender that can be used to feed logs into the InternalLogs source.
- take_
log_ receiver - Returns the Receiver for the InternalLogs source. Note: This can only be called once as it moves the receiver.