(&self, f: &mut fmt::Formatter<'_>)
| 286 | |
| 287 | impl fmt::Display for OpenError { |
| 288 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 289 | match self { |
| 290 | Self::Relative => f.write_str("not an absolute path"), |
| 291 | Self::Create(error) => write!(f, "{error}"), |
| 292 | Self::Init(error) => write!(f, "{error}"), |
| 293 | } |
| 294 | } |
| 295 | } |
| 296 | |
| 297 | fn open_file(dir: &Path) -> Result<RollingFileAppender, OpenError> { |
nothing calls this directly
no outgoing calls
no test coverage detected