Edit File by line
/home/barbar84/www/wp-conte.../plugins/ninja-fo.../includes/Abstract...
File: LoggerInterface.php
<?php if ( ! defined( 'ABSPATH' ) ) exit;
[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 NF_Abstracts_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
* @return null
[24] Fix | Delete
*/
[25] Fix | Delete
public function emergency($message, array $context = array());
[26] Fix | Delete
[27] Fix | Delete
/**
[28] Fix | Delete
* Action must be taken immediately.
[29] Fix | Delete
*
[30] Fix | Delete
* Example: Entire website down, database unavailable, etc. This should
[31] Fix | Delete
* trigger the SMS alerts and wake you up.
[32] Fix | Delete
*
[33] Fix | Delete
* @param string $message
[34] Fix | Delete
* @param array $context
[35] Fix | Delete
* @return null
[36] Fix | Delete
*/
[37] Fix | Delete
public function alert($message, array $context = array());
[38] Fix | Delete
[39] Fix | Delete
/**
[40] Fix | Delete
* Critical conditions.
[41] Fix | Delete
*
[42] Fix | Delete
* Example: Application component unavailable, unexpected exception.
[43] Fix | Delete
*
[44] Fix | Delete
* @param string $message
[45] Fix | Delete
* @param array $context
[46] Fix | Delete
* @return null
[47] Fix | Delete
*/
[48] Fix | Delete
public function critical($message, array $context = array());
[49] Fix | Delete
[50] Fix | Delete
/**
[51] Fix | Delete
* Runtime errors that do not require immediate action but should typically
[52] Fix | Delete
* be logged and monitored.
[53] Fix | Delete
*
[54] Fix | Delete
* @param string $message
[55] Fix | Delete
* @param array $context
[56] Fix | Delete
* @return null
[57] Fix | Delete
*/
[58] Fix | Delete
public function error($message, array $context = array());
[59] Fix | Delete
[60] Fix | Delete
/**
[61] Fix | Delete
* Exceptional occurrences that are not errors.
[62] Fix | Delete
*
[63] Fix | Delete
* Example: Use of deprecated APIs, poor use of an API, undesirable things
[64] Fix | Delete
* that are not necessarily wrong.
[65] Fix | Delete
*
[66] Fix | Delete
* @param string $message
[67] Fix | Delete
* @param array $context
[68] Fix | Delete
* @return null
[69] Fix | Delete
*/
[70] Fix | Delete
public function warning($message, array $context = array());
[71] Fix | Delete
[72] Fix | Delete
/**
[73] Fix | Delete
* Normal but significant events.
[74] Fix | Delete
*
[75] Fix | Delete
* @param string $message
[76] Fix | Delete
* @param array $context
[77] Fix | Delete
* @return null
[78] Fix | Delete
*/
[79] Fix | Delete
public function notice($message, array $context = array());
[80] Fix | Delete
[81] Fix | Delete
/**
[82] Fix | Delete
* Interesting events.
[83] Fix | Delete
*
[84] Fix | Delete
* Example: User logs in, SQL logs.
[85] Fix | Delete
*
[86] Fix | Delete
* @param string $message
[87] Fix | Delete
* @param array $context
[88] Fix | Delete
* @return null
[89] Fix | Delete
*/
[90] Fix | Delete
public function info($message, array $context = array());
[91] Fix | Delete
[92] Fix | Delete
/**
[93] Fix | Delete
* Detailed debug information.
[94] Fix | Delete
*
[95] Fix | Delete
* @param string $message
[96] Fix | Delete
* @param array $context
[97] Fix | Delete
* @return null
[98] Fix | Delete
*/
[99] Fix | Delete
public function debug($message, array $context = array());
[100] Fix | Delete
[101] Fix | Delete
/**
[102] Fix | Delete
* Logs with an arbitrary level.
[103] Fix | Delete
*
[104] Fix | Delete
* @param mixed $level
[105] Fix | Delete
* @param string $message
[106] Fix | Delete
* @param array $context
[107] Fix | Delete
* @return null
[108] Fix | Delete
*/
[109] Fix | Delete
public function log($level, $message, array $context = array());
[110] Fix | Delete
}
[111] Fix | Delete
[112] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function