Print an error message with red X symbol.
(message: &str)
| 58 | |
| 59 | /// Print an error message with red X symbol. |
| 60 | pub fn error(message: &str) { |
| 61 | info!( |
| 62 | " {} {}", |
| 63 | "✗".if_supports_color(Stream::Stderr, |t| t.red()), |
| 64 | message |
| 65 | ); |
| 66 | } |
| 67 | |
| 68 | /// Print a cargo-style action line: a 12-column right-aligned bold-green |
| 69 | /// verb followed by `message`. |
no outgoing calls
no test coverage detected