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