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