Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/updraftp.../vendor/psr/log/Psr/Log
File: NullLogger.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Psr\Log;
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* This Logger can be used to avoid conditional log calls.
[5] Fix | Delete
*
[6] Fix | Delete
* Logging should always be optional, and if no logger is provided to your
[7] Fix | Delete
* library creating a NullLogger instance to have something to throw logs at
[8] Fix | Delete
* is a good way to avoid littering your code with `if ($this->logger) { }`
[9] Fix | Delete
* blocks.
[10] Fix | Delete
*/
[11] Fix | Delete
class NullLogger extends AbstractLogger
[12] Fix | Delete
{
[13] Fix | Delete
/**
[14] Fix | Delete
* Logs with an arbitrary level.
[15] Fix | Delete
*
[16] Fix | Delete
* @param mixed $level
[17] Fix | Delete
* @param string $message
[18] Fix | Delete
* @param array $context
[19] Fix | Delete
*
[20] Fix | Delete
* @return void
[21] Fix | Delete
*
[22] Fix | Delete
* @throws \Psr\Log\InvalidArgumentException
[23] Fix | Delete
*/
[24] Fix | Delete
public function log($level, $message, array $context = array())
[25] Fix | Delete
{
[26] Fix | Delete
// noop
[27] Fix | Delete
}
[28] Fix | Delete
}
[29] Fix | Delete
[30] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function