static function OAuthRequestLogger::enableLogging in Lingotek Translation 7.2
Same name and namespace in other branches
- 7.3 lib/oauth-php/library/OAuthRequestLogger.php \OAuthRequestLogger::enableLogging()
* Force logging, needed for performing test connects independent from the debugging setting. * *
Parameters
boolean store_log (optional) true to store the log in the db:
File
- lib/
oauth-php/ library/ OAuthRequestLogger.php, line 82
Class
- OAuthRequestLogger
- Log OAuth requests
Code
static function enableLogging($store_log = null) {
OAuthRequestLogger::$enable_logging = true;
if (!is_null($store_log)) {
OAuthRequestLogger::$store_log = $store_log;
}
}