PHP 8.2.31
Preview: NullLogger.php Size: 748 B
/home/nshryvcy/blissfulnepal.com/wp-content/plugins/wordpress-seo/vendor_prefixed/psr/log/Psr/Log/NullLogger.php

<?php

namespace YoastSEO_Vendor\Psr\Log;

/**
 * This Logger can be used to avoid conditional log calls.
 *
 * Logging should always be optional, and if no logger is provided to your
 * library creating a NullLogger instance to have something to throw logs at
 * is a good way to avoid littering your code with `if ($this->logger) { }`
 * blocks.
 */
class NullLogger extends \YoastSEO_Vendor\Psr\Log\AbstractLogger
{
    /**
     * Logs with an arbitrary level.
     *
     * @param mixed  $level
     * @param string $message
     * @param array  $context
     *
     * @return void
     *
     * @throws \Psr\Log\InvalidArgumentException
     */
    public function log($level, $message, array $context = array())
    {
        // noop
    }
}

Directory Contents

Dirs: 0 × Files: 8

Name Size Perms Modified Actions
3.26 KB lrw-r--r-- 2026-06-03 14:57:42
Edit Download
112 B lrw-r--r-- 2026-06-03 14:57:42
Edit Download
338 B lrw-r--r-- 2026-06-03 14:57:42
Edit Download
442 B lrw-r--r-- 2026-06-03 14:57:42
Edit Download
3.05 KB lrw-r--r-- 2026-06-03 14:57:42
Edit Download
3.54 KB lrw-r--r-- 2026-06-03 14:57:42
Edit Download
329 B lrw-r--r-- 2026-06-03 14:57:42
Edit Download
748 B lrw-r--r-- 2026-06-03 14:57:42
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).