log Function

Logs a message into the console.

Syntax

void log(
const string&in str,
Severity severity = Severity :: Info
)

Parameters

const string&in str
The message to log.

Severity severity = Severity :: Info
The severity of the message. The severity defines the color of the message in the console.

Return value

None.

Remarks

None.