Enum sentry_core::Level
source · [−]pub enum Level {
Debug,
Info,
Warning,
Error,
Fatal,
}
Expand description
Represents the level of severity of an event or breadcrumb.
Variants
Debug
Indicates very spammy debug information.
Info
Informational messages.
Warning
A warning.
Error
An error.
Fatal
Similar to error but indicates a critical event that usually causes a shutdown.
Implementations
A quick way to check if the level is warning
.
Trait Implementations
pub fn deserialize<D>(
deserializer: D
) -> Result<Level, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
pub fn deserialize<D>(
deserializer: D
) -> Result<Level, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Level
impl UnwindSafe for Level
Blanket Implementations
Mutably borrows from an owned value. Read more