watchdog/actionsrecorder
module
Classes
module:watchdog/actionsrecorder~ActionsRecorder
Functions
serializeValue( value, visited ) → anyinternalmodule:watchdog/actionsrecorder~serializeValueSerializes a value into a JSON-serializable format.
Parameters
value : anyThe value to serialize.
visited : WeakSet<object>Set of already serialized objects to avoid circular references.
Defaults to
...
Returns
anyA JSON-serializable representation of the value.
tapObjectMethod( object, methodName, tap, context ) → voidinternalmodule:watchdog/actionsrecorder~tapObjectMethodCreates a wrapper around a method to record its calls, results, and errors.
Parameters
object : anyThe object containing the method to tap.
methodName : stringThe name of the method to tap.
tap : MethodTapThe tap configuration with before/after/error hooks.
context : Record<string, any>Additional context to include with the method calls.
Defaults to
{}
Returns
void