Fix pkgid and add a convenience logger
Merge pull request #59 from cmr/convenience

Fix pkgid and add a convenience logger