sm.log
Used for logging information from scripts to the game log.
Functions:
sm.log.error(...)
Logs an error message
Parameters:
Type | Name | Description |
---|---|---|
any | ... | The arguments to be displayed as an error message. |
sm.log.info(...)
Logs an information message
Parameters:
Type | Name | Description |
---|---|---|
any | ... | The arguments to be displayed as a log message. |
sm.log.warning(...)
Logs a warning message
Parameters:
Type | Name | Description |
---|---|---|
any | ... | The arguments to be displayed as a warning message. |