function watchdog_format_object in Lingotek Translation 7.5
Same name and namespace in other branches
- 7.7 lingotek.util.inc \watchdog_format_object()
- 7.2 lingotek.util.inc \watchdog_format_object()
- 7.3 lingotek.util.inc \watchdog_format_object()
- 7.4 lingotek.util.inc \watchdog_format_object()
- 7.6 lingotek.util.inc \watchdog_format_object()
Formats a complex object for presentation in a watchdog message.
File
- ./
lingotek.util.inc, line 235 - Utility functions.
Code
function watchdog_format_object($object) {
return '<pre>' . htmlspecialchars(var_export($object, TRUE)) . '</pre>';
}