Google::RestApi - Conditionally initialize log4perl.


This does a conditional load of log4perl and if not found, stubs out the logger calls. it should be called with a 'do' so that the code executes in the caller's package.

This should allow you to run the API with or without log4perl installed.