NAME

Google::RestApi logger_init.pl - Conditionally initialize log4perl.

DESCRIPTION

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.