Plug.AccessLog v0.15.0 Plug.AccessLog.DefaultFormatter.RequestServingTime View Source

Calculates the time taken to serve the request.

Link to this section Summary

Functions

Formats the log output.

Link to this section Types

Specs

time_format() :: String.t() | :seconds | :milliseconds | :microseconds

Link to this section Functions

Specs

format(Plug.Conn.t(), time_format()) :: iodata()

Formats the log output.