# watchdog/actionsrecorder

module

<a id="classes">

## Classes

<a id="class-ActionsRecorder">

### [ActionsRecorder](module_watchdog_actionsrecorder-ActionsRecorder.md)

<a id="functions">

## Functions

<a id="function-serializeValue">

### `serializeValue( value, visited ) → any` _(internal)_

Serializes a value into a JSON-serializable format.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-watchdog/src/actionsrecorder.ts#L598)

#### Parameters

* `value: any`

  The value to serialize.

* `visited: WeakSet<object>`

  Set of already serialized objects to avoid circular references.

  Defaults to `...`

#### Returns

* `any`

  A JSON-serializable representation of the value.

<a id="function-tapObjectMethod">

### `tapObjectMethod( object, methodName, tap, context ) → void` _(internal)_

Creates a wrapper around a method to record its calls, results, and errors.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-watchdog/src/actionsrecorder.ts#L520)

#### Parameters

* `object: any`

  The object containing the method to tap.

* `methodName: string`

  The name of the method to tap.

* `tap: MethodTap`

  The tap configuration with before/after/error hooks.

* `context: Record<string, any>`

  Additional context to include with the method calls.

  Defaults to `{}`

#### Returns

* `void`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
