Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Latest commit

 

History

History
10 lines (6 loc) · 423 Bytes

File metadata and controls

10 lines (6 loc) · 423 Bytes

[DEPRECATED]

We recommend to switch to https://github.com/go-chi/httplog.

Lg - Context logger backed by Logrus, including a structured HTTP RequestLogger

The lg ("log") package is a context-based application logger built on the Logrus package (https://github.com/sirupsen/logrus). It also includes a HTTP request logging middleware, lg.RequestLogger.

See the example for a sample program.