| 1 | <?php |
||
| 22 | class LogHandler implements LogHandlerInterface |
||
| 23 | { |
||
| 24 | const DEFAULT_PATH = '.logger'; |
||
| 25 | const DEFAULT_EXTENSION = '.log'; |
||
| 26 | |||
| 27 | /** @var string The path. */ |
||
| 28 | private $path; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Construct a log handler object with the given path. |
||
| 32 | * |
||
| 33 | * @param string $path = self::DEFAULT_PATH |
||
| 34 | */ |
||
| 35 | 2 | public function __construct($path = self::DEFAULT_PATH) |
|
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | 2 | public function update(SubjectInterface $subject, $arguments = null) |
|
| 56 | } |
||
| 57 |