PHP 8.3.31
Preview: NullLogger.php Size: 643 B
/home/getspomw/royalsquad.us/vendor/psr/log/src/NullLogger.php

<?php

namespace 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 AbstractLogger
{
    /**
     * Logs with an arbitrary level.
     *
     * @param mixed[] $context
     *
     * @throws \Psr\Log\InvalidArgumentException
     */
    public function log($level, string|\Stringable $message, array $context = []): void
    {
        // noop
    }
}

Directory Contents

Dirs: 0 × Files: 9

Name Size Perms Modified Actions
414 B lrw-rw-rw- 2025-09-17 06:53:13
Edit Download
2.88 KB lrw-r--r-- 2026-04-26 10:12:23
Edit Download
96 B lrw-rw-rw- 2025-09-17 06:53:13
Edit Download
231 B lrw-rw-rw- 2025-09-17 06:53:13
Edit Download
347 B lrw-rw-rw- 2025-09-17 06:53:13
Edit Download
2.71 KB lrw-rw-rw- 2025-09-17 06:53:13
Edit Download
2.69 KB lrw-rw-rw- 2025-09-17 06:53:13
Edit Download
336 B lrw-rw-rw- 2025-09-17 06:53:13
Edit Download
643 B lrw-rw-rw- 2025-09-17 06:53:13
Edit Download

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