pub enum LoggerType {
None,
Stdio,
Log,
Custom {
info: unsafe extern "C" fn(*const c_char),
error: unsafe extern "C" fn(*const c_char),
},
}
Expand description
Describes how JACK should log info and error messages.
Variants§
None
Ignore all logging from JACK.
Stdio
Use stdout and stderr to print messages.
Log
Use the info! and error! macro from the log crate.
Custom
Use custom functions to handle logging.
Trait Implementations§
Source§impl Clone for LoggerType
impl Clone for LoggerType
Source§fn clone(&self) -> LoggerType
fn clone(&self) -> LoggerType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LoggerType
impl Debug for LoggerType
Source§impl Default for LoggerType
impl Default for LoggerType
Source§fn default() -> LoggerType
fn default() -> LoggerType
Returns the “default value” for a type. Read more
Source§impl PartialEq for LoggerType
impl PartialEq for LoggerType
impl Copy for LoggerType
impl StructuralPartialEq for LoggerType
Auto Trait Implementations§
impl Freeze for LoggerType
impl RefUnwindSafe for LoggerType
impl Send for LoggerType
impl Sync for LoggerType
impl Unpin for LoggerType
impl UnwindSafe for LoggerType
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