pub struct OutputBuilder { /* private fields */ }Implementations§
Source§impl OutputBuilder
impl OutputBuilder
pub fn stdout() -> Self
pub fn stderr() -> Self
pub fn with_endpoint<T>(endpoint: T) -> Self
pub fn with_dyn_endpoint(endpoint: Box<dyn Write + Send + 'static>) -> Self
pub fn flush_on_newline(self, flush: bool) -> Self
pub fn with_filter(self, filter: LevelFilter) -> Self
pub fn build(self) -> Output
Auto Trait Implementations§
impl Freeze for OutputBuilder
impl !RefUnwindSafe for OutputBuilder
impl Send for OutputBuilder
impl !Sync for OutputBuilder
impl Unpin for OutputBuilder
impl UnsafeUnpin for OutputBuilder
impl !UnwindSafe for OutputBuilder
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