#[non_exhaustive]#[repr(u32)]pub enum cef_log_severity_t {
LOGSEVERITY_DEFAULT = 0,
LOGSEVERITY_VERBOSE = 1,
LOGSEVERITY_INFO = 2,
LOGSEVERITY_WARNING = 3,
LOGSEVERITY_ERROR = 4,
LOGSEVERITY_FATAL = 5,
LOGSEVERITY_DISABLE = 99,
}Expand description
Log severity levels.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LOGSEVERITY_DEFAULT = 0
Default logging (currently INFO logging).
LOGSEVERITY_VERBOSE = 1
Verbose logging.
LOGSEVERITY_INFO = 2
INFO logging.
LOGSEVERITY_WARNING = 3
WARNING logging.
LOGSEVERITY_ERROR = 4
ERROR logging.
LOGSEVERITY_FATAL = 5
FATAL logging.
LOGSEVERITY_DISABLE = 99
Disable logging to file for all messages, and to stderr for messages with severity less than FATAL.
Implementations§
Source§impl cef_log_severity_t
impl cef_log_severity_t
pub const LOGSEVERITY_DEBUG: cef_log_severity_t = cef_log_severity_t::LOGSEVERITY_VERBOSE
Trait Implementations§
Source§impl Clone for cef_log_severity_t
impl Clone for cef_log_severity_t
Source§fn clone(&self) -> cef_log_severity_t
fn clone(&self) -> cef_log_severity_t
Returns a duplicate 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 cef_log_severity_t
impl Debug for cef_log_severity_t
Source§impl Hash for cef_log_severity_t
impl Hash for cef_log_severity_t
Source§impl PartialEq for cef_log_severity_t
impl PartialEq for cef_log_severity_t
impl Copy for cef_log_severity_t
impl Eq for cef_log_severity_t
impl StructuralPartialEq for cef_log_severity_t
Auto Trait Implementations§
impl Freeze for cef_log_severity_t
impl RefUnwindSafe for cef_log_severity_t
impl Send for cef_log_severity_t
impl Sync for cef_log_severity_t
impl Unpin for cef_log_severity_t
impl UnwindSafe for cef_log_severity_t
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