watchdog/actionsrecorder
module
Classes
-
module:watchdog/actionsrecorder~ActionsRecorder
Functions
-
serializeValue( value, visited ) → any
internalmodule:watchdog/actionsrecorder~serializeValue
Serializes a value into a JSON-serializable format.
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.
-
tapObjectMethod( object, methodName, tap, context ) → void
internalmodule:watchdog/actionsrecorder~tapObjectMethod
Creates a wrapper around a method to record its calls, results, and errors.
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