Changeset View
Changeset View
Standalone View
Standalone View
src/channel/PhutilLogFileChannel.php
Context not available. | |||||
public function read() { | public function read() { | ||||
$buffer = parent::read(); | $buffer = parent::read(); | ||||
if (strlen($buffer)) { | if (@strlen($buffer)) { | ||||
$this->log('>>> '.phutil_loggable_string($buffer)); | $this->log('>>> '.phutil_loggable_string($buffer)); | ||||
} | } | ||||
Context not available. | |||||
} | } | ||||
public function write($message) { | public function write($message) { | ||||
if (strlen($message)) { | if (@strlen($message)) { | ||||
$this->log('<<< '.phutil_loggable_string($message)); | $this->log('<<< '.phutil_loggable_string($message)); | ||||
} | } | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0