How to get status code when using after_request?
<p>How to get the <em>status code</em> (200, 500, ... ) when using <em>after_request</em> ?</p>

<p>What I want is to have the kind of output we have with a logger (for example werkzeug) but where it's possible to add what I want (username, ...) :</p>

<p><em>remote_IP, timepoint, path, status_code</em></p>