Resolve the effective output format, accounting for `--short`.
(&self)
| 141 | |
| 142 | /// Resolve the effective output format, accounting for `--short`. |
| 143 | pub(crate) fn effective_format(&self) -> LogFormat { |
| 144 | if self.short { |
| 145 | LogFormat::Short |
| 146 | } else { |
| 147 | self.format |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | /// Builder: set the count limit. |
| 152 | pub fn with_count(mut self, count: usize) -> Self { |
no outgoing calls
no test coverage detected