# sm.log

Used for logging information from scripts to the game log.

## Functions

### error {#error}

``` { .lua .api-signature }
sm.log.error( ... )
```

Logs an error message

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `...` | any | The arguments to be displayed as an error message. |

### info {#info}

``` { .lua .api-signature }
sm.log.info( ... )
```

Logs an information message

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `...` | any | The arguments to be displayed as a log message. |

### warning {#warning}

``` { .lua .api-signature }
sm.log.warning( ... )
```

Logs a warning message

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `...` | any | The arguments to be displayed as a warning message. |
