Skip to main content

log()

Last updated 16/06/2022

log()

The log() is a function on the five object which is used to print any kind of variables defined before itself, or to just print any message to the Logs page on the Five Inspector.

Available
Client and Server


Function Signature
log(value: any) : void;

ParameterTypeDescription
valueanyThe value required to write to the console.

The log() function is useful for testing purposes. When testing using the log(), be sure to have the Five Inspector open and be on the Logs page.

Examples

log()