Pluggable logging. Ref #83