PHP 8.2.30
Preview: NullLogger.php Size: 1.23 KB
/opt/cloudlinux/alt-php53/root/usr/share/pear/Symfony/Component/HttpKernel/Log/NullLogger.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\HttpKernel\Log;

use Psr\Log\NullLogger as PsrNullLogger;

/**
 * NullLogger.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 *
 * @api
 */
class NullLogger extends PsrNullLogger implements LoggerInterface
{
    /**
     * @api
     * @deprecated since 2.2, to be removed in 3.0. Use emergency() which is PSR-3 compatible.
     */
    public function emerg($message, array $context = array())
    {
    }

    /**
     * @api
     * @deprecated since 2.2, to be removed in 3.0. Use critical() which is PSR-3 compatible.
     */
    public function crit($message, array $context = array())
    {
    }

    /**
     * @api
     * @deprecated since 2.2, to be removed in 3.0. Use error() which is PSR-3 compatible.
     */
    public function err($message, array $context = array())
    {
    }

    /**
     * @api
     * @deprecated since 2.2, to be removed in 3.0. Use warning() which is PSR-3 compatible.
     */
    public function warn($message, array $context = array())
    {
    }
}

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
859 B lrw-r--r-- 2019-12-18 11:20:41
Edit Download
1.26 KB lrw-r--r-- 2019-12-18 11:20:41
Edit Download
1.23 KB lrw-r--r-- 2019-12-18 11:20:41
Edit Download

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