LoggedDecoratorOptions interface

Options for the logged() decorator.

Signature:

export interface LoggedDecoratorOptions 

Properties

Property

Modifiers

Type

Description

doNotThrow?

boolean

(Optional) Set to true to swallow the error after logging it, in which case the method resolves to undefined.

level?

LoggedLogLevel

(Optional) Which ILogger method records the error.

logger?

ILogger

(Optional) An explicit logger, taking precedence over the instance, class and console fallbacks.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.