Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/worker/src/Monolog/Psr
File: LoggerInterface.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/**
[2] Fix | Delete
* Describes a logger instance
[3] Fix | Delete
*
[4] Fix | Delete
* The message MUST be a string or object implementing __toString().
[5] Fix | Delete
*
[6] Fix | Delete
* The message MAY contain placeholders in the form: {foo} where foo
[7] Fix | Delete
* will be replaced by the context data in key "foo".
[8] Fix | Delete
*
[9] Fix | Delete
* The context array can contain arbitrary data, the only assumption that
[10] Fix | Delete
* can be made by implementors is that if an Exception instance is given
[11] Fix | Delete
* to produce a stack trace, it MUST be in a key named "exception".
[12] Fix | Delete
*
[13] Fix | Delete
* See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
[14] Fix | Delete
* for the full interface specification.
[15] Fix | Delete
*/
[16] Fix | Delete
interface Monolog_Psr_LoggerInterface
[17] Fix | Delete
{
[18] Fix | Delete
/**
[19] Fix | Delete
* System is unusable.
[20] Fix | Delete
*
[21] Fix | Delete
* @param string $message
[22] Fix | Delete
* @param array $context
[23] Fix | Delete
*
[24] Fix | Delete
* @return null
[25] Fix | Delete
*/
[26] Fix | Delete
public function emergency($message, array $context = array());
[27] Fix | Delete
[28] Fix | Delete
/**
[29] Fix | Delete
* Action must be taken immediately.
[30] Fix | Delete
*
[31] Fix | Delete
* Example: Entire website down, database unavailable, etc. This should
[32] Fix | Delete
* trigger the SMS alerts and wake you up.
[33] Fix | Delete
*
[34] Fix | Delete
* @param string $message
[35] Fix | Delete
* @param array $context
[36] Fix | Delete
*
[37] Fix | Delete
* @return null
[38] Fix | Delete
*/
[39] Fix | Delete
public function alert($message, array $context = array());
[40] Fix | Delete
[41] Fix | Delete
/**
[42] Fix | Delete
* Critical conditions.
[43] Fix | Delete
*
[44] Fix | Delete
* Example: Application component unavailable, unexpected exception.
[45] Fix | Delete
*
[46] Fix | Delete
* @param string $message
[47] Fix | Delete
* @param array $context
[48] Fix | Delete
*
[49] Fix | Delete
* @return null
[50] Fix | Delete
*/
[51] Fix | Delete
public function critical($message, array $context = array());
[52] Fix | Delete
[53] Fix | Delete
/**
[54] Fix | Delete
* Runtime errors that do not require immediate action but should typically
[55] Fix | Delete
* be logged and monitored.
[56] Fix | Delete
*
[57] Fix | Delete
* @param string $message
[58] Fix | Delete
* @param array $context
[59] Fix | Delete
*
[60] Fix | Delete
* @return null
[61] Fix | Delete
*/
[62] Fix | Delete
public function error($message, array $context = array());
[63] Fix | Delete
[64] Fix | Delete
/**
[65] Fix | Delete
* Exceptional occurrences that are not errors.
[66] Fix | Delete
*
[67] Fix | Delete
* Example: Use of deprecated APIs, poor use of an API, undesirable things
[68] Fix | Delete
* that are not necessarily wrong.
[69] Fix | Delete
*
[70] Fix | Delete
* @param string $message
[71] Fix | Delete
* @param array $context
[72] Fix | Delete
*
[73] Fix | Delete
* @return null
[74] Fix | Delete
*/
[75] Fix | Delete
public function warning($message, array $context = array());
[76] Fix | Delete
[77] Fix | Delete
/**
[78] Fix | Delete
* Normal but significant events.
[79] Fix | Delete
*
[80] Fix | Delete
* @param string $message
[81] Fix | Delete
* @param array $context
[82] Fix | Delete
*
[83] Fix | Delete
* @return null
[84] Fix | Delete
*/
[85] Fix | Delete
public function notice($message, array $context = array());
[86] Fix | Delete
[87] Fix | Delete
/**
[88] Fix | Delete
* Interesting events.
[89] Fix | Delete
*
[90] Fix | Delete
* Example: User logs in, SQL logs.
[91] Fix | Delete
*
[92] Fix | Delete
* @param string $message
[93] Fix | Delete
* @param array $context
[94] Fix | Delete
*
[95] Fix | Delete
* @return null
[96] Fix | Delete
*/
[97] Fix | Delete
public function info($message, array $context = array());
[98] Fix | Delete
[99] Fix | Delete
/**
[100] Fix | Delete
* Detailed debug information.
[101] Fix | Delete
*
[102] Fix | Delete
* @param string $message
[103] Fix | Delete
* @param array $context
[104] Fix | Delete
*
[105] Fix | Delete
* @return null
[106] Fix | Delete
*/
[107] Fix | Delete
public function debug($message, array $context = array());
[108] Fix | Delete
[109] Fix | Delete
/**
[110] Fix | Delete
* Logs with an arbitrary level.
[111] Fix | Delete
*
[112] Fix | Delete
* @param mixed $level
[113] Fix | Delete
* @param string $message
[114] Fix | Delete
* @param array $context
[115] Fix | Delete
*
[116] Fix | Delete
* @return null
[117] Fix | Delete
*/
[118] Fix | Delete
public function log($level, $message, array $context = array());
[119] Fix | Delete
}
[120] Fix | Delete
[121] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function