microscope v1.3.0 Microscope.Logger
A callback module that logs HTTP requests to the stdout.
Link to this section Summary
Functions
Called when the server replied with HTTP 200 (OK).
Called when the server replied with HTTP 404 (Not Found).
Called when the server received a request, and before the server sends a response.
Link to this section Functions
Link to this function
on_200(from, method, path)
Called when the server replied with HTTP 200 (OK).
Callback implementation for Microscope.Callback.on_200/3
.
Link to this function
on_404(from, method, path)
Called when the server replied with HTTP 404 (Not Found).
Callback implementation for Microscope.Callback.on_404/3
.
Link to this function
on_request()
on_request()
on_request() :: no_return()
on_request() :: no_return()
Called when the server received a request, and before the server sends a response.
Callback implementation for Microscope.Callback.on_request/0
.