You are here

protected function AcquiaLiftAPI::logger in Acquia Lift Connector 7.2

Same name and namespace in other branches
  1. 7 includes/acquia_lift.classes.inc \AcquiaLiftAPI::logger()

Returns the logger to use.

Return value

PersonalizeLoggerInterface

1 call to AcquiaLiftAPI::logger()
AcquiaLiftAPI::handleBadResponse in includes/AcquiaLiftAPI.inc
Figures out the correct exception to throw and throws it.

File

includes/AcquiaLiftAPI.inc, line 959

Class

AcquiaLiftAPI

Code

protected function logger() {
  if ($this->logger !== NULL) {
    return $this->logger;
  }
  return new PersonalizeLogger();
}