export default function trace()

in src/legacy/trace/trace.ts [7:22]


export default function trace(
    next: LegacyDispatchFunction,
    action: ActionFunction,
    actionType: string,
    args: IArguments,
    actionContext: ActionContext
) {
    log('Executing action: ' + (actionType ? actionType : '(anonymous action)'));

    try {
        depth++;
        return next(action, actionType, args, actionContext);
    } finally {
        depth--;
    }
}