Struct slog_async::AsyncBuilder
[−]
[src]
pub struct AsyncBuilder<D> where
D: Drain<Err = Never, Ok = ()> + Send + 'static, { /* fields omitted */ }Async builder
Methods
impl<D> AsyncBuilder<D> where
D: Drain<Err = Never, Ok = ()> + Send + 'static, [src]
D: Drain<Err = Never, Ok = ()> + Send + 'static,
fn chan_size(self, s: usize) -> Self
Set channel size used to send logging records to worker thread. When
buffer is full AsyncCore will start returning AsyncError::Full.
fn build(self) -> Async
Complete building Async
fn build_no_guard(self) -> Async
Complete building Async
fn build_with_guard(self) -> (Async, AsyncGuard)
Complete building Async with AsyncGuard
See AsyncGuard for more information.