Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/worker/src/Monolog/Handler
File: HandlerInterface.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/*
[2] Fix | Delete
* This file is part of the Monolog package.
[3] Fix | Delete
*
[4] Fix | Delete
* (c) Jordi Boggiano <j.boggiano@seld.be>
[5] Fix | Delete
*
[6] Fix | Delete
* For the full copyright and license information, please view the LICENSE
[7] Fix | Delete
* file that was distributed with this source code.
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
/**
[11] Fix | Delete
* Interface that all Monolog Handlers must implement
[12] Fix | Delete
*
[13] Fix | Delete
* @author Jordi Boggiano <j.boggiano@seld.be>
[14] Fix | Delete
*/
[15] Fix | Delete
interface Monolog_Handler_HandlerInterface
[16] Fix | Delete
{
[17] Fix | Delete
/**
[18] Fix | Delete
* Checks whether the given record will be handled by this handler.
[19] Fix | Delete
*
[20] Fix | Delete
* This is mostly done for performance reasons, to avoid calling processors for nothing.
[21] Fix | Delete
*
[22] Fix | Delete
* Handlers should still check the record levels within handle(), returning false in isHandling()
[23] Fix | Delete
* is no guarantee that handle() will not be called, and isHandling() might not be called
[24] Fix | Delete
* for a given record.
[25] Fix | Delete
*
[26] Fix | Delete
* @param array $record
[27] Fix | Delete
*
[28] Fix | Delete
* @return Boolean
[29] Fix | Delete
*/
[30] Fix | Delete
public function isHandling(array $record);
[31] Fix | Delete
[32] Fix | Delete
/**
[33] Fix | Delete
* Handles a record.
[34] Fix | Delete
*
[35] Fix | Delete
* All records may be passed to this method, and the handler should discard
[36] Fix | Delete
* those that it does not want to handle.
[37] Fix | Delete
*
[38] Fix | Delete
* The return value of this function controls the bubbling process of the handler stack.
[39] Fix | Delete
* Unless the bubbling is interrupted (by returning true), the Logger class will keep on
[40] Fix | Delete
* calling further handlers in the stack with a given log record.
[41] Fix | Delete
*
[42] Fix | Delete
* @param array $record The record to handle
[43] Fix | Delete
*
[44] Fix | Delete
* @return Boolean true means that this handler handled the record, and that bubbling is not permitted.
[45] Fix | Delete
* false means the record was either not processed or that this handler allows bubbling.
[46] Fix | Delete
*/
[47] Fix | Delete
public function handle(array $record);
[48] Fix | Delete
[49] Fix | Delete
/**
[50] Fix | Delete
* Handles a set of records at once.
[51] Fix | Delete
*
[52] Fix | Delete
* @param array $records The records to handle (an array of record arrays)
[53] Fix | Delete
*/
[54] Fix | Delete
public function handleBatch(array $records);
[55] Fix | Delete
[56] Fix | Delete
/**
[57] Fix | Delete
* Adds a processor in the stack.
[58] Fix | Delete
*
[59] Fix | Delete
* @param callable $callback
[60] Fix | Delete
*
[61] Fix | Delete
* @return self
[62] Fix | Delete
*/
[63] Fix | Delete
public function pushProcessor($callback);
[64] Fix | Delete
[65] Fix | Delete
/**
[66] Fix | Delete
* Removes the processor on top of the stack and returns it.
[67] Fix | Delete
*
[68] Fix | Delete
* @return callable
[69] Fix | Delete
*/
[70] Fix | Delete
public function popProcessor();
[71] Fix | Delete
[72] Fix | Delete
/**
[73] Fix | Delete
* Sets the formatter.
[74] Fix | Delete
*
[75] Fix | Delete
* @param Monolog_Formatter_FormatterInterface $formatter
[76] Fix | Delete
*
[77] Fix | Delete
* @return self
[78] Fix | Delete
*/
[79] Fix | Delete
public function setFormatter(Monolog_Formatter_FormatterInterface $formatter);
[80] Fix | Delete
[81] Fix | Delete
/**
[82] Fix | Delete
* Gets the formatter.
[83] Fix | Delete
*
[84] Fix | Delete
* @return Monolog_Formatter_FormatterInterface
[85] Fix | Delete
*/
[86] Fix | Delete
public function getFormatter();
[87] Fix | Delete
}
[88] Fix | Delete
[89] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function