Skip to content
Vapor Week is coming 14th September!

You're viewing documentation for a pre-release version. View the latest stable version

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.")