Skip to content

Instance Method

info(_:newLine:)

Outputs a String to the Console with info style.
func info(_ string: String = "", newLine: Bool = true)

Parameters

string

String to print.

newLine

If true, the next output will be on a new line.

Discussion

console.info("Vapor is the best.")