Skip to main content

sm.log

Used for logging information from scripts to the game log.

Functions

error

sm.log.error( ... )

Logs an error message.

Arguments:
  • ... [ any ]: The arguments to display in the message.

info

sm.log.info( ... )

Logs an information message.

Arguments:
  • ... [ any ]: The arguments to display in the message.

warning

sm.log.warning( ... )

Logs a warning message.

Arguments:
  • ... [ any ]: The arguments to display in the message.