Improve logging message to include values instead of 'Array'

This commit is contained in:
nathan 2021-11-17 08:49:32 -07:00
parent 2287ca15c2
commit bc18846d75

View File

@ -278,7 +278,7 @@ class Base
{ {
if(self::LOG_LEVEL > 1) if(self::LOG_LEVEL > 1)
{ {
error_log(__METHOD__ . "('$path') = '" . self::$resolve_url_cache[$path] . "' (from cache)"); error_log(__METHOD__ . "('$path') = '" . print_r(self::$resolve_url_cache[$path], true) . "' (from cache)");
} }
$mounted = self::$resolve_url_cache[$path]['mounted']; $mounted = self::$resolve_url_cache[$path]['mounted'];
return self::$resolve_url_cache[$path]['url']; return self::$resolve_url_cache[$path]['url'];