Add basic logging to pgx

fixes #21