Struct slog_async::AsyncCoreBuilder [] [src]

pub struct AsyncCoreBuilder<D> where D: Drain<Err=Never, Ok=()> + Send + 'static { /* fields omitted */ }

AsyncCore builder

Methods

impl<D> AsyncCoreBuilder<D> where D: Drain<Err=Never, Ok=()> + Send + 'static
[src]

Set channel size used to send logging records to worker thread. When buffer is full AsyncCore will start returning AsyncError::Full.

Build AsyncCore