# IMQ_LOG_TIME_FORMAT variable · @imqueue/core

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

Unit used when rendering profiled execution time, from the `IMQ_LOG_TIME_FORMAT` environment variable. Accepts `microseconds`, `milliseconds` or `seconds`, and defaults to `microseconds`.

**Signature:**

```typescript
IMQ_LOG_TIME_FORMAT: AllowedTimeFormat
```

## Remarks

The value is not validated, so any unrecognized string falls back to `microseconds` silently. Read once when the module is first imported and applied globally — there is no per-decorator or per-call override.

Output is rendered as `<n> μs` (unrounded), `<n.nnn> ms`, or `<n.nnn> sec`.

