Instance Method error(_:newLine:) Outputs a String to the Console with error style. func error(_ string: String = "", newLine: Bool = true) Parameters string String to print. newLine If true, the next output will be on a new line. Discussion console.error("Uh oh...")