You are here

function lingotek_trace in Lingotek Translation 7.2

Same name and namespace in other branches
  1. 6 lingotek.util.inc \lingotek_trace()
7 calls to lingotek_trace()
lingotek_download_document in ./lingotek.api.inc
lingotek_get_document_targets in ./lingotek.api.inc
Get the target language objects for a Lingotek document associated with a node.
lingotek_get_workbench_url in ./lingotek.api.inc
Get the url to open the Lingotek Workbench.
lingotek_node_init_default in ./lingotek.util.inc
Run this on nodes you aren't sure if they've been initialized yet for use with Lingotek.
lingotek_node_sync in ./lingotek.util.inc
Synchronize the node's content with current translations as stored on the Lingotek platform.

... See full list

File

./lingotek.util.inc, line 221
Utility functions.

Code

function lingotek_trace($msg, $data = NULL) {
  if (variable_get('lingotek_trace_log', TRUE)) {
    return;
  }
  lingotek_error($msg, $data, $depth = 1, WATCHDOG_DEBUG);
}