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