Jack Christensen
|
3028821487
|
Add context.Context to Logger interface
This allows custom logger adapters to add additional fields to log
messages. For example, a HTTP server may with to log the request ID.
fixes #428
|
2019-08-03 16:16:21 -05:00 |
Jack Christensen
|
efb333df6b
|
Fix go modules
Wow. This is fun. Sure is easy to get modules wrong when upgrading a v2+
project.
|
2019-04-20 17:41:08 -05:00 |
Justin Reagor
|
5819bc8fb1
|
Small typo
|
2018-03-21 00:25:14 -04:00 |
Justin Reagor
|
cb72072f8d
|
Add zerolog logging adapter
|
2018-03-19 22:40:13 -04:00 |
André Bierlein
|
4dea6c902e
|
Use logrus.FieldLogger instead of *logrus.Logger
This allows supplying a logrus logger that already has fields configured
|
2017-10-10 16:58:24 +02:00 |
Kelsey Francis
|
8cb78d376a
|
Add zap log adapter
|
2017-09-07 11:07:55 -07:00 |
Damir Vandic
|
8afa1fd332
|
fix logrus updated package name (lowercase)
See https://github.com/sirupsen/logrus/issues/570#issuecomment-313933276
|
2017-08-18 13:46:49 +02:00 |
Jack Christensen
|
280bce7078
|
Added log adapter for logrus
Also changed standard logger interface to take a map instead of varargs for
extra data.
|
2017-04-29 21:28:38 -05:00 |
Jack Christensen
|
855b735eae
|
Add log adapters for testing and log15
Make LogLevel a type for Stringer interface.
|
2017-04-29 20:33:52 -05:00 |