> 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/warn-logger.md).

# warn

## Uses

log any warning to the console.

## Examples

```typescript
this.api.getLogger().warn("Database is missing, creating a new one...");
```
