public static function LingotekLog::api in Lingotek Translation 7.4
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::api()
- 7.5 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::api()
- 7.6 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::api()
3 calls to LingotekLog::api()
- LingotekAccount::getAccountStatus in lib/
Drupal/ lingotek/ LingotekAccount.php - Get Account Status NOTE: You shouldnt need to call this directly. Its called in the constructor. Request: …
- LingotekApi::request in lib/
Drupal/ lingotek/ LingotekApi.php - Calls a Lingotek API method.
- LingotekSession::request in ./
lingotek.session.inc
File
- lib/
Drupal/ lingotek/ LingotekLog.php, line 27 - LingotekLog
Class
- LingotekLog
- Wrapper logging class for watchdog
Code
public static function api($msg, $data, $tag = 'api') {
if (!variable_get('lingotek_api_debug', self::getDefault())) {
return;
}
self::log($msg, $data, $depth = 1, WATCHDOG_INFO, $tag);
}