pub struct BetterstackConfig { /* private fields */ }Expand description
Configuration for BetterstackLayer
Implementations§
Source§impl BetterstackConfig
impl BetterstackConfig
Sourcepub fn batch_size(&self) -> usize
pub fn batch_size(&self) -> usize
Get the batch size
Sourcepub fn batch_delay(&self) -> Duration
pub fn batch_delay(&self) -> Duration
Get the batch delay
Sourcepub fn channel_capacity(&self) -> usize
pub fn channel_capacity(&self) -> usize
Get the channel capacity
Sourcepub fn include_span_context(&self) -> bool
pub fn include_span_context(&self) -> bool
Check if span context should be included
Sourcepub fn logger_name(&self) -> &str
pub fn logger_name(&self) -> &str
Get the logger name
Sourcepub fn logger_version(&self) -> &str
pub fn logger_version(&self) -> &str
Get the logger version
Trait Implementations§
Source§impl Clone for BetterstackConfig
impl Clone for BetterstackConfig
Source§fn clone(&self) -> BetterstackConfig
fn clone(&self) -> BetterstackConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BetterstackConfig
impl !RefUnwindSafe for BetterstackConfig
impl Send for BetterstackConfig
impl Sync for BetterstackConfig
impl Unpin for BetterstackConfig
impl !UnwindSafe for BetterstackConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more