Symfony\Bridge\Monolog\Handler\ChromePhpHandler
ChromePhpHandler.
- Author: Christophe Coevoet <stof@notk.org>
Synopsis
class ChromePhpHandler
extends ChromePHPHandler
{
- // Inherited constants from ChromePHPHandler
- const VERSION = '3.0';
- const HEADER_NAME = 'X-ChromePhp-Data';
- // Inherited members from ChromePHPHandler
- protected $initialized;
- protected Boolean $overflowed;
- protected array $json;
- protected $sendHeaders;
- // Inherited members from AbstractHandler
- protected $level;
- protected $bubble;
- protected FormatterInterface $formatter;
- protected array $processors;
- // methods
- public void onKernelResponse()
- protected void sendHeader()
- protected void headersAccepted()
- // Inherited methods from ChromePHPHandler
- public void handleBatch()
- protected void getDefaultFormatter()
- protected void write()
- protected void send()
- protected void sendHeader()
- protected Boolean headersAccepted()
- public void __get()
- public void __set()
- // Inherited methods from AbstractProcessingHandler
- public void handle()
- protected abstract void write()
- protected array processRecord()
- // Inherited methods from AbstractHandler
- public void __construct()
- public void isHandling()
- public void handleBatch()
- public void close()
- public void pushProcessor()
- public void popProcessor()
- public void setFormatter()
- public void getFormatter()
- public void setLevel()
- public integer getLevel()
- public void setBubble()
- public Boolean getBubble()
- public void __destruct()
- protected FormatterInterface getDefaultFormatter()
Hierarchy
Extends
Constants
Name | Value |
---|---|
VERSION | '3.0' |
HEADER_NAME | 'X-ChromePhp-Data' |
Members
private
- $headers — array
- $response — Symfony\Component\HttpFoundation\Response
protected
- $bubble
- $formatter — Monolog\Formatter\FormatterInterface
- $initialized
- $json
- $level
- $overflowed
—
Monolog\Handler\Boolean
Tracks whether we sent too much data - $processors
- $sendHeaders
Methods
protected
- headersAccepted() — Override default behavior since we check it in onKernelResponse
- sendHeader() — {@inheritDoc}
public
- onKernelResponse() — Adds the headers to the response once it's created
Inherited from Monolog\Handler\ChromePHPHandler
protected
- getDefaultFormatter() — {@inheritDoc}
- headersAccepted() — Verifies if the headers are accepted by the current user agent
- send() — Sends the log header
- sendHeader() — Send header string to the client
- write() — Creates & sends header for a record
public
- __get() — BC getter for the sendHeaders property that has been made static
- __set() — BC setter for the sendHeaders property that has been made static
- handleBatch() — {@inheritdoc}
Inherited from Monolog\Handler\AbstractProcessingHandler
protected
- processRecord() — Processes a record.
- write() — Writes the record down to the log of the implementing handler
public
- handle() — {@inheritdoc}
Inherited from Monolog\Handler\AbstractHandler
protected
- getDefaultFormatter() — Gets the default formatter.
public
- close() — Closes the handler.
- getBubble() — Gets the bubbling behavior.
- getFormatter() — {@inheritdoc}
- getLevel() — Gets minimum logging level at which this handler will be triggered.
- handleBatch() — {@inheritdoc}
- isHandling() — {@inheritdoc}
- popProcessor() — {@inheritdoc}
- pushProcessor() — {@inheritdoc}
- setBubble() — Sets the bubbling behavior.
- setFormatter() — {@inheritdoc}
- setLevel() — Sets minimum logging level at which this handler will be triggered.