public static function LingotekLog::error in Lingotek Translation 7.7
Same name and namespace in other branches
- 7.3 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::error()
- 7.4 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::error()
- 7.5 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::error()
- 7.6 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::error()
37 calls to LingotekLog::error()
- check_entity_progress_for_download in ./
lingotek.sync.inc - LingotekApi::addContentDocument in lib/
Drupal/ lingotek/ LingotekApi.php - Add a document to the Lingotek platform.
- LingotekApi::downloadDocument in lib/
Drupal/ lingotek/ LingotekApi.php - Downloads the translated document for the specified document and language.
- LingotekApi::request in lib/
Drupal/ lingotek/ LingotekApi.php - Calls a Lingotek API method.
- LingotekApi::updateContentDocument in lib/
Drupal/ lingotek/ LingotekApi.php - Updates the content of an existing Lingotek document with the current object contents.
File
- lib/
Drupal/ lingotek/ LingotekLog.php, line 41 - LingotekLog
Class
- LingotekLog
- Wrapper logging class for watchdog
Code
public static function error($msg, $data, $tag = 'error') {
if (!variable_get('lingotek_error_log', TRUE)) {
return;
}
self::log($msg, $data, $depth = 1, WATCHDOG_ERROR, $tag);
}