pub struct Log;Implementations§
Source§impl Log
impl Log
Sourcepub fn info_with(msg: impl AsRef<str>, context: &Value)
pub fn info_with(msg: impl AsRef<str>, context: &Value)
Mencatat pesan info dengan konteks JSON (Log::info($msg, $context))
Sourcepub fn debug_with(msg: impl AsRef<str>, context: &Value)
pub fn debug_with(msg: impl AsRef<str>, context: &Value)
Mencatat pesan debug dengan konteks JSON (Log::debug($msg, $context))
Sourcepub fn warning_with(msg: impl AsRef<str>, context: &Value)
pub fn warning_with(msg: impl AsRef<str>, context: &Value)
Mencatat pesan peringatan dengan konteks JSON (Log::warning($msg, $context))
Sourcepub fn error_with(msg: impl AsRef<str>, context: &Value)
pub fn error_with(msg: impl AsRef<str>, context: &Value)
Mencatat pesan error dengan konteks JSON (Log::error($msg, $context))
Auto Trait Implementations§
impl Freeze for Log
impl RefUnwindSafe for Log
impl Send for Log
impl Sync for Log
impl Unpin for Log
impl UnsafeUnpin for Log
impl UnwindSafe for Log
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more