_printChanges(_:)

Enhances a reducer with debug logging of received actions and state mutations for the given printer.

DebugReducer.swift:16
@warn_unqualified_access func _printChanges(_ printer: _ReducerPrinter<State, Action>? = .customDump) -> _PrintChangesReducer<Self>

Parameters

printer

A printer for printing debug messages.

Returns

A reducer that prints debug messages for all received actions.