pub fn from_log_level(level: LogLevel) -> Result<Level, LogControl1Error>Expand description
Convert logcontrol::LogLevel to tracing::Level.
Return an error if the systemd log level is not supported, i.e. does not map to a
corresponding tracing::Level.
ยงErrors
Return LogControl1Error::UnsupportedLogLevel if level does not map to
a tracing::Level.