/** * @param $log */ public static function log($log) { self::$modx->log(modX::LOG_LEVEL_ERROR, print_r($log, 1)); }