s:</p>
<pre class="highlight swift"><code><span class="kd">class</span> <span class="kt">LoggerMiddleware</span><span class="p">:</span> <span class="kt">Middleware</span> <span class="p">{</span>
    <span class="kd">typealias</span> <span class="kt">InputActionType</span> <span class="o">=</span> <span class="kt">AppGlobalAction</span> <span class="c1">// It wants to receive all possible app actions</span>
    <span class="kd">typealias</span> <span class="kt">OutputActionType</span> <span class="o">=</sp