1 | <?php |
||
5 | abstract class LogService extends \Psr\Log\AbstractLogger |
||
6 | { |
||
7 | protected $logLevels = array( |
||
8 | \Psr\Log\LogLevel::EMERGENCY, |
||
9 | \Psr\Log\LogLevel::ALERT, |
||
10 | \Psr\Log\LogLevel::CRITICAL, |
||
11 | \Psr\Log\LogLevel::ERROR, |
||
12 | \Psr\Log\LogLevel::WARNING, |
||
13 | \Psr\Log\LogLevel::NOTICE); |
||
14 | |||
15 | public function __construct($params=false) |
||
22 | |||
23 | /** |
||
24 | * Interpolates context values into the message placeholders. |
||
25 | */ |
||
26 | protected function interpolate($message, array $context = array()) |
||
40 | |||
41 | protected function shouldLog($level) |
||
45 | } |
||
46 | /* vim: set tabstop=4 shiftwidth=4 expandtab: */ |
||
47 |