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.
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.