ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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
12namespace 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}
An exception for terminatinating execution or to throw for unit testing.
Interface that all Monolog Handlers must implement.
handle(array $record)
Handles a record.
pushProcessor($callback)
Adds a processor in the stack.
setFormatter(FormatterInterface $formatter)
Sets the formatter.
isHandling(array $record)
Checks whether the given record will be handled by this handler.
getFormatter()
Gets the formatter.
handleBatch(array $records)
Handles a set of records at once.
popProcessor()
Removes the processor on top of the stack and returns it.
$records
Definition: simple_test.php:22