Improve logging message to include values instead of 'Array'

This commit is contained in:
nathan 2021-11-17 08:49:32 -07:00 committed by Ralf Becker
parent 711a03aebf
commit 4caec9dbd3

View File

@ -278,7 +278,7 @@ class Base
{
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'];
return self::$resolve_url_cache[$path]['url'];