Notch Notch Manual 0.9.23
 Light | Dark
Log()

Log()

Purpose #

Writes a message to Notch’s log window.

Per-frame log output should be used sparingly as it can severely impact frame rate.

Syntax #

void Log(String content);

Parameters

contentThe string to be written to the log.

Example #

function Update()
{ 
    Log("Hello world");
}
Use View->Log Window to see the log file.