You are here

function watchdog_format_object in Lingotek Translation 7.2

Same name and namespace in other branches
  1. 7.7 lingotek.util.inc \watchdog_format_object()
  2. 7.3 lingotek.util.inc \watchdog_format_object()
  3. 7.4 lingotek.util.inc \watchdog_format_object()
  4. 7.5 lingotek.util.inc \watchdog_format_object()
  5. 7.6 lingotek.util.inc \watchdog_format_object()

Formats a complex object for presentation in a watchdog message.

3 calls to watchdog_format_object()
LingotekApi::createCommunity in lib/Drupal/lingotek/LingotekApi.php
Calls a Lingotek API to provision a new Community (account). Modified version of the request() method.
LingotekApi::request in lib/Drupal/lingotek/LingotekApi.php
Calls a Lingotek API method.
lingotek_dashboard_command_ajax in ./lingotek.dashboard.inc
Ajax Command Processing for the Lingotek dashboard.

File

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

Code

function watchdog_format_object($object) {
  return '<pre>' . htmlspecialchars(var_export($object, TRUE)) . '</pre>';
}