# ILogger interface · @imqueue/core

Source: https://imqueue.org/api/core/latest/core.ilogger/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/core 3.3.2 — generated reference, not hand-written

Minimal logging contract the framework writes diagnostics through. The global `console` satisfies it, and it is the default.

Pass an implementation as [IMQOptions.logger](https://imqueue.org/api/core/latest/core.imqoptions.logger/) to redirect queue output, or a no-op implementation to silence it. The method names match the members of [LogLevel](https://imqueue.org/api/core/latest/core.loglevel/), so a level can be used as a property lookup on a logger.

**Signature:**

```typescript
export interface ILogger 
```

## Methods


| Method | Description |
| --- | --- |
| [error(args)](https://imqueue.org/api/core/latest/core.ilogger.error/) | Writes a message at the `error` level. |
| [info(args)](https://imqueue.org/api/core/latest/core.ilogger.info/) | Writes a message at the `info` level. |
| [log(args)](https://imqueue.org/api/core/latest/core.ilogger.log/) | Writes a message at the `log` level. |
| [warn(args)](https://imqueue.org/api/core/latest/core.ilogger.warn/) | Writes a message at the `warn` level. |

