(&self, f: &mut std::fmt::Formatter<'_>)
| 32 | |
| 33 | impl std::fmt::Display for LogFormat { |
| 34 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 35 | match self { |
| 36 | LogFormat::Default => write!(f, "default"), |
| 37 | LogFormat::Short => write!(f, "short"), |
| 38 | LogFormat::Oneline => write!(f, "oneline"), |
| 39 | LogFormat::Json => write!(f, "json"), |
| 40 | } |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | impl std::str::FromStr for LogFormat { |
nothing calls this directly
no outgoing calls
no test coverage detected