Struct slog_async::AsyncBuilder [] [src]

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

AsyncCore builder

Methods

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

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

Build AsyncCore