Expand description

Logger middleware for the Actix Web framework.

Actually it’s a copy & paste from the official Logger middleware (original source code), but it allows to choose the logging level depending on the HTTP status code responded, and by default server errors are logged with ERROR level.

For middleware documentation, see middleware::Logger.

Modules