sm.log

Used for logging information from scripts to the game log.

Functions:

  • error
  • info
  • warning

  • sm.log.error(...)

    Logs an error message

    Parameters:

    TypeNameDescription
    any...The arguments to be displayed as an error message.

    sm.log.info(...)

    Logs an information message

    Parameters:

    TypeNameDescription
    any...The arguments to be displayed as a log message.

    sm.log.warning(...)

    Logs a warning message

    Parameters:

    TypeNameDescription
    any...The arguments to be displayed as a warning message.