# AnyLogger interface · @imqueue/pg-pubsub

Source: https://imqueue.org/api/pg-pubsub/latest/pg-pubsub.anylogger/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-pubsub 3.0.5 — generated reference, not hand-written

Represents logger interface suitable to be injected into this library objects

**Signature:**

```typescript
export interface AnyLogger 
```

## Methods


| Method | Description |
| --- | --- |
| [error(args)](https://imqueue.org/api/pg-pubsub/latest/pg-pubsub.anylogger.error/) | Unrecoverable problem, including exhausting the reconnect retry limit. |
| [info(args)](https://imqueue.org/api/pg-pubsub/latest/pg-pubsub.anylogger.info/) | Informational message: connection, listen and lock lifecycle events. |
| [log(args)](https://imqueue.org/api/pg-pubsub/latest/pg-pubsub.anylogger.log/) | General-purpose message, equivalent to `console.log`. |
| [warn(args)](https://imqueue.org/api/pg-pubsub/latest/pg-pubsub.anylogger.warn/) | Recoverable problem — a failed reconnect attempt, or a payload rejected for exceeding the NOTIFY size limit. |

