> For the complete documentation index, see [llms.txt](https://jsprismarine.gitbook.io/jsprismarine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jsprismarine.gitbook.io/jsprismarine/logger/error-logger.md).

# error

## Uses

log any error to the console.

## Examples

```typescript
this.api.getLogger().error("Something went wrong here!");
```
