2
0

Update README.md for logging

This commit is contained in:
Jack Christensen
2014-09-04 16:34:25 -05:00
parent ff905fe862
commit c24c28b218
+4 -2
View File
@@ -157,8 +157,10 @@ native Go slice an error will occur.
### Logging
pgx connections optionally accept a logger from the [log15
package](http://gopkg.in/inconshreveable/log15.v2).
pgx defines a simple logger interface. Connections optionally accept a logger
that satisfies this interface. The [log15
package](http://gopkg.in/inconshreveable/log15.v2) satisfies this interface
and it is simple to define adapters for other loggers.
## Testing