You are here

function watchdog_format_object in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.7 lingotek.util.inc \watchdog_format_object()
  2. 7.2 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.

File

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

Code

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