NominalLogWriter#

pub struct NominalLogWriter<'a>#

A channel writer with common per-record arguments.

Implementations#

impl NominalLogWriter<'_>
pub fn push(&self, timestamp: impl IntoTimestamp, message: impl Into<String>) -> Result<(), LogStreamError>#

Enqueue a message with the writer’s common arguments.

pub fn enqueue_batch(&self, records: Vec<LogRecord>) -> Result<(), LogStreamError>#

Enqueue records, preserving record-specific overrides of common arguments.

Trait implementations#

Auto traits: Send, Sync, Unpin, !UnwindSafe, !RefUnwindSafe