Enum tracing_stackdriver::LogSeverity
source · [−]pub enum LogSeverity {
Default,
Debug,
Info,
Notice,
Warning,
Error,
Critical,
Alert,
Emergency,
}
Expand description
The severity of the event described in a log entry, expressed as standard severity levels. See Google’s LogSeverity docs here.
Variants
Default
Log entry has no assigned severity level
Debug
Debug or trace information
Info
Routine information, such as ongoing status or performance
Notice
Normal but significant events, such as start up, shut down, or a configuration change
Warning
Warning events might cause problems
Error
Error events are likely to cause problems
Critical
Critical events cause more severe problems or outages
Alert
A person must take an action immediately
Emergency
One or more systems are unusable
Trait Implementations
sourceimpl Debug for LogSeverity
impl Debug for LogSeverity
sourceimpl Default for LogSeverity
impl Default for LogSeverity
sourcefn default() -> LogSeverity
fn default() -> LogSeverity
Returns the “default value” for a type. Read more
sourceimpl Display for LogSeverity
impl Display for LogSeverity
sourceimpl From<&Level> for LogSeverity
impl From<&Level> for LogSeverity
sourceimpl From<Value> for LogSeverity
impl From<Value> for LogSeverity
sourceimpl FromStr for LogSeverity
impl FromStr for LogSeverity
sourceimpl Serialize for LogSeverity
impl Serialize for LogSeverity
Auto Trait Implementations
impl RefUnwindSafe for LogSeverity
impl Send for LogSeverity
impl Sync for LogSeverity
impl Unpin for LogSeverity
impl UnwindSafe for LogSeverity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more