ufwlog 0.3.0-beta.1

A library to parse, format and export ufw log.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod csv;

/// Supported export formats
#[derive(Debug, Clone, PartialEq)]
pub enum Format {
    Csv,
}

impl Format {
    /// Get the extension of this format.
    pub fn get_extension(&self) -> &str {
        match self {
            Format::Csv => "csv",
        }
    }
}