You are here

public static function LingotekLog::error in Lingotek Translation 7.6

Same name and namespace in other branches
  1. 7.7 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::error()
  2. 7.3 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::error()
  3. 7.4 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::error()
  4. 7.5 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::error()
35 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.
LingotekConfigSet::contentUpdated in lib/Drupal/lingotek/LingotekConfigSet.php
Event handler for updates to the config set's data.
LingotekConfigSet::downloadTriggered in lib/Drupal/lingotek/LingotekConfigSet.php
Updates the local content of $target_code with data from a Lingotek Document

... See full list

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);
}