# `TimeLog.PreLogPlug`

This plug logs the incoming requests.
It logs the IP address and has the ability to anonymize the IP address if set in config.

# `call`

```elixir
@spec call(Plug.Conn, Map) :: Plug.Conn
```

Call to PreLogPlug that initiates the request logging.

# `initiate_logging`

```elixir
@spec initiate_logging(Plug.Conn) :: Plug.Conn
```

Initiates Response logging and logs the incoming request.
Ensures that responses are only logged if the corresponding request was logged as well.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
