Struct wireplumber::log::Log
source · pub struct Log(/* private fields */);
Implementations§
source§impl Log
impl Log
pub const LEVEL_TRACE: LogLevelFlags = _
pub fn domain() -> &'static str
pub fn level_is_enabled<L: Into<LogLevelFlags>>(flags: L) -> bool
pub fn set_level(level: &str)
pub fn set_default_level(level: &str)
pub fn spa_log() -> *mut spa_log
pub fn log_string<M: Into<GString>, L: Into<LogLevelFlags>>( log_level: L, context: StructuredLogContext<'_>, message: M )
pub fn log_args<O: AsRef<GObject>, L: Into<LogLevelFlags>>( log_level: L, context: StructuredLogContext<'_, O>, args: Arguments<'_> )
pub unsafe fn writer_default<L: Into<LogLevelFlags>>( log_levels: L, fields: &[GLogField], user_data: gpointer ) -> GLogWriterOutput
Auto Trait Implementations§
impl RefUnwindSafe for Log
impl Send for Log
impl Sync for Log
impl Unpin 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