/** * Set the Logger object * * @param mixed $logger Instance of your custom Logger * @return void */ public static function setLogger($logger) { self::$logger = $logger; }