ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HandlerInterface.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the Monolog package.
5  *
6  * (c) Jordi Boggiano <j.boggiano@seld.be>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
12 namespace Monolog\Handler;
13 
15 
22 {
36  public function isHandling(array $record);
37 
52  public function handle(array $record);
53 
59  public function handleBatch(array $records);
60 
67  public function pushProcessor($callback);
68 
74  public function popProcessor();
75 
82  public function setFormatter(FormatterInterface $formatter);
83 
89  public function getFormatter();
90 }
setFormatter(FormatterInterface $formatter)
Sets the formatter.
pushProcessor($callback)
Adds a processor in the stack.
handle(array $record)
Handles a record.
$records
Definition: simple_test.php:22
handleBatch(array $records)
Handles a set of records at once.
isHandling(array $record)
Checks whether the given record will be handled by this handler.
popProcessor()
Removes the processor on top of the stack and returns it.
getFormatter()
Gets the formatter.
Create styles array
The data for the language used.
Interface that all Monolog Handlers must implement.