Enum LogLevel

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

1pub enum LogLevel {
2 Error,
3 Warn,
4 Info,
5 Debug,
6 Trace,
7}

Global / per-sink minimum severity for operational logs.

Variants

Error

Error

Error and above.

Warn

Warn

Warning and above.

Info

Info

Informational and above.

Debug

Debug

Debug and above.

Trace

Trace

Trace and above (most verbose).

Implementations

impl LogLevel

impl LogLevel

parse

pub fn parse(raw: &str) -> Result<Self>

Parses a config string into a LogLevel.

Trait Implementations

impl Clone for LogLevel

impl Clone for LogLevel

clone

fn clone(&self) -> LogLevel

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for LogLevel

impl Debug for LogLevel

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl PartialEq for LogLevel

impl PartialEq for LogLevel

eq

fn eq(&self, other: &LogLevel) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Copy for LogLevel

impl Copy for LogLevel

impl Eq for LogLevel

impl Eq for LogLevel

impl StructuralPartialEq for LogLevel

impl StructuralPartialEq for LogLevel