# LoggedDecoratorOptions interface · @imqueue/rpc

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

Options for the [logged()](https://imqueue.org/api/rpc/latest/rpc.logged/) decorator.

**Signature:**

```typescript
export interface LoggedDecoratorOptions 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [doNotThrow?](https://imqueue.org/api/rpc/latest/rpc.loggeddecoratoroptions.donotthrow/) |  | boolean | _(Optional)_ Set to `true` to swallow the error after logging it, in which case the method resolves to `undefined`. |
| [level?](https://imqueue.org/api/rpc/latest/rpc.loggeddecoratoroptions.level/) |  | [LoggedLogLevel](https://imqueue.org/api/rpc/latest/rpc.loggedloglevel/) | _(Optional)_ Which `ILogger` method records the error. |
| [logger?](https://imqueue.org/api/rpc/latest/rpc.loggeddecoratoroptions.logger/) |  | ILogger | _(Optional)_ An explicit logger, taking precedence over the instance, class and console fallbacks. |

