1 | <?php |
||
28 | class DefaultFormatter extends FormatterAbstract |
||
29 | { |
||
30 | /** |
||
31 | * default message format |
||
32 | * |
||
33 | * @var string |
||
34 | * @access protected |
||
35 | */ |
||
36 | protected $format = '[%datetime%] %channel%.%level%: %message%'; |
||
37 | |||
38 | /** |
||
39 | * Inject the format if any |
||
40 | * |
||
41 | * @param string $format |
||
42 | * @access protected |
||
43 | */ |
||
44 | public function __construct(/*# string */ $format = '') |
||
50 | |||
51 | /** |
||
52 | * {@inheritDoc} |
||
53 | */ |
||
54 | protected function format( |
||
65 | } |
||
66 |