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