pjlegato / ring.middleware.logger

Ring middleware to log each request
58 stars 24 forks source link

Clarify docs for custom logger backends #12

Closed fajpunk closed 9 years ago

fajpunk commented 9 years ago

The docs currently make it seem (to me, at least) that wrap-with-logger accepts a single map argument to define custom loggers, when in fact, it accepts a variable number pairs of level keywords and logger functions.

Here's an attempt to update the Readme to make this more clear, if you like it :)

pjlegato commented 9 years ago

Thanks, that's definitely an improvement.