facebook/facebook-php-sdk — pull request #38 by MacDada (2012-09-11 18:38:37+00:00)
Title: Allow inheritance overriding by using "static::errorLog('message')" instead of "self::errorLog('message')"

If you wanted to customize the api logger, you could inherit after \Facebook class and write custom errorLog() method.

Unfortunately, facebook-php-sdk will still use its own method, because "self" takes a method from the class it is being called.

Changing "self" keyword to "static" solves the problem.