static function OAuthRequestLogger::addNote in Lingotek Translation 7.2
Same name and namespace in other branches
- 7.3 lib/oauth-php/library/OAuthRequestLogger.php \OAuthRequestLogger::addNote()
* Add a note, used by the OAuthException2 to log all exceptions. * *
Parameters
string note:
2 calls to OAuthRequestLogger::addNote()
- OAuthException2::__construct in lib/
oauth-php/ library/ OAuthException2.php - OAuthServer::authorizeFinish in lib/
oauth-php/ library/ OAuthServer.php - * Overrule this method when you want to display a nice page when * the authorization is finished. This function does not know if the authorization was * succesfull, you need to check the token in the database. * *
File
- lib/
oauth-php/ library/ OAuthRequestLogger.php, line 213
Class
- OAuthRequestLogger
- Log OAuth requests
Code
static function addNote($note) {
OAuthRequestLogger::$note .= $note . "\n\n";
}