You are here

public static function LingotekLog::error in Lingotek Translation 7.4

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.5 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::error()
  4. 7.6 lib/Drupal/lingotek/LingotekLog.php \LingotekLog::error()
31 calls to LingotekLog::error()
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::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.
LingotekComment::updateLocalContent in lib/Drupal/lingotek/LingotekComment.php
Updates the local content with data from a Lingotek Document.
LingotekComment::updateLocalContentByTarget in lib/Drupal/lingotek/LingotekComment.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 = '') {
  if (!variable_get('lingotek_error_log', TRUE)) {
    return;
  }
  self::log($msg, $data, $depth = 1, WATCHDOG_ERROR, $tag);
}