Home / Misc

log()

log(message1 [, message2, ...])

Prints a message to the server console, prefixed with the plugin's name.

Parameters

NameTypeDescription
messageanyData to print. Multiple arguments are separated by spaces.

Returns

Nothing.

Example

log("Plugin loaded successfully!")
log("Player count:", #server.players())