2
0

Add basic logging to pgx

fixes #21
This commit is contained in:
Jack Christensen
2013-11-05 15:09:50 -06:00
parent 007be95992
commit f76489f7d7
4 changed files with 97 additions and 2 deletions
+6
View File
@@ -139,6 +139,12 @@ arrays (or any types) differently can easily override the default transcoding
(so even using a strict with value and null fields would simply be a matter of
changing transcoders).
### Logging
Pgx defines the pgx.Logger interface. A value that satisfies this interface
used as part of ConnectionOptions or ConnectionPoolOptions to enable logging
of pgx activities.
## Testing
Pgx supports multiple connection and authentication types. Setting up a test