Struct tarantool::log::TarantoolLogger
source · pub struct TarantoolLogger(/* private fields */);
Implementations§
source§impl TarantoolLogger
impl TarantoolLogger
pub const fn new() -> Self
pub fn with_mapping(map_fn: fn(_: Level) -> SayLevel) -> Self
sourcepub fn convert_level(&self, level: Level) -> SayLevel
pub fn convert_level(&self, level: Level) -> SayLevel
Convert log::Level
to SayLevel
taking the mapping into account.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TarantoolLogger
impl Send for TarantoolLogger
impl Sync for TarantoolLogger
impl Unpin for TarantoolLogger
impl UnwindSafe for TarantoolLogger
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