# Logger.(constructor) · @imqueue/async-logger

Source: https://imqueue.org/api/async-logger/latest/async-logger.logger._constructor_/
Published: 2026-07-31
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/async-logger 3.2.0 — generated reference, not hand-written

Constructs a new instance of the `Logger` class

**Signature:**

```typescript
constructor(options?: AsyncLoggerOptions);
```

## Parameters


| Parameter | Type | Description |
| --- | --- | --- |
| options | [AsyncLoggerOptions](https://imqueue.org/api/async-logger/latest/async-logger.asyncloggeroptions/) | _(Optional)_ explicit transports and metadata. Omit either half and it is read from `LOGGER_TRANSPORTS` / `LOGGER_METADATA`; omit the argument entirely and both are. |


## Exceptions

TypeError if the environment config is not valid JSON, or names a transport type other than `file` or `http`

