scratch – Blame information for rev 115

Subversion Repositories:
Rev:
Rev Author Line No. Line
115 office 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\Formatter;
13  
14 /**
15 * Interface for formatters
16 *
17 * @author Jordi Boggiano <j.boggiano@seld.be>
18 */
19 interface FormatterInterface
20 {
21 /**
22 * Formats a log record.
23 *
24 * @param array $record A record to format
25 * @return mixed The formatted record
26 */
27 public function format(array $record);
28  
29 /**
30 * Formats a set of log records.
31 *
32 * @param array $records A set of records to format
33 * @return mixed The formatted set of records
34 */
35 public function formatBatch(array $records);
36 }