Added log adapter for logrus
Also changed standard logger interface to take a map instead of varargs for extra data.
This commit is contained in:
@@ -239,7 +239,8 @@ connection.
|
||||
Logging
|
||||
|
||||
pgx defines a simple logger interface. Connections optionally accept a logger
|
||||
that satisfies this interface. Set LogLevel to control logging
|
||||
verbosity.
|
||||
that satisfies this interface. Set LogLevel to control logging verbosity.
|
||||
Adapters for github.com/inconshreveable/log15, github.com/Sirupsen/logrus, and
|
||||
the testing log are provided in the log directory.
|
||||
*/
|
||||
package pgx
|
||||
|
||||
Reference in New Issue
Block a user