# console.warn

Logs data to the error log. Read more about error logs.

```javascript
console.warn(...arguments);
```

```snippet playground-input-2k8u0pPON3
`...arguments` | yes | Any number of arguments to be logged to the error log. Objects can be converted to strings using `JSON.stringify()`.
```

## Output

This function does not return anything.

## Comments

Useful for logging non-critical warnings or diagnostic messages to the error log.  
Accepts multiple arguments of any type, similar to the standard JavaScript `console.warn()` function.

## Examples

```javascript
console.warn("Low memory detected");
console.warn("Deprecated function used:", functionName);
```