From c24c28b218171a84f1346ff4ac17698783038b96 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Thu, 4 Sep 2014 16:34:25 -0500 Subject: [PATCH] Update README.md for logging --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f79879c..5b82b507 100644 --- a/README.md +++ b/README.md @@ -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