public static function LingotekLog::error in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::error()
- 7.3 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::error()
- 7.4 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::error()
- 7.6 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::error()
34 calls to LingotekLog::error()
- 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.
- LingotekConfigChunk::contentUpdated in lib/
Drupal/ lingotek/ LingotekConfigChunk.php - Event handler for updates to the config chunk's data.
- LingotekConfigChunk::downloadTriggered in lib/
Drupal/ lingotek/ LingotekConfigChunk.php - Updates the local content of $target_code with data from a Lingotek Document
File
- lib/
Drupal/ lingotek/ LingotekLog.php, line 41 - LingotekLog
Class
- LingotekLog
- Wrapper logging class for watchdog
Code
public static function error($msg, $data, $tag = '') {
if (!variable_get('lingotek_error_log', TRUE)) {
return;
}
self::log($msg, $data, $depth = 1, WATCHDOG_ERROR, $tag);
}