|
const | DEFAULT_FORMAT = '%timestamp% %priorityName% (%priority%): %message%' |
|
Definition at line 34 of file Simple.php.
◆ __construct()
__construct |
( |
|
$format = null | ) |
|
Class constructor
- Parameters
-
null | string | $format | Format specifier for log messages |
- Returns
- void
- Exceptions
-
Definition at line 50 of file Simple.php.
53 $format = self::DEFAULT_FORMAT . PHP_EOL;
57 #require_once 'Zend/Log/Exception.php';
◆ factory()
static factory |
( |
|
$options | ) |
|
|
static |
◆ format()
Formats data into a single line to be written by the writer.
- Parameters
-
- Returns
- string formatted line to write to the log
Implements Zend_Log_Formatter_Interface.
Definition at line 92 of file Simple.php.
97 if ((is_object(
$value) && !method_exists(
$value,
'__toString'))
if(!isset($_GET['name'])) $name
◆ $_format
◆ DEFAULT_FORMAT
const DEFAULT_FORMAT = '%timestamp% %priorityName% (%priority%): %message%' |
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Log/Formatter/Simple.php