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§
source§impl Debug for LogSeverity
impl Debug for LogSeverity
source§impl Default for LogSeverity
impl Default for LogSeverity
source§fn default() -> LogSeverity
fn default() -> LogSeverity
Returns the “default value” for a type. Read more
source§impl Display for LogSeverity
impl Display for LogSeverity
source§impl From<&Level> for LogSeverity
impl From<&Level> for LogSeverity
source§impl From<Value> for LogSeverity
impl From<Value> for LogSeverity
source§impl FromStr for LogSeverity
impl FromStr 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§
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