Skip to main content

parse_notification_level

Function parse_notification_level 

Source
pub fn parse_notification_level(
    value: Option<&str>,
) -> Result<NotificationLevel, String>
Expand description

The level below which notifications are not sent, as the configuration names it (webhook_min_level): info, warn or error, and info where it names none.