Added a basic logging implementation for PCL

Fixes issue #122