3 namespace Friendica\Util\Logger;
5 use Friendica\Util\Introspection;
6 use Friendica\Util\Profiler;
9 * A Logger instance for logging into a stream
11 class StreamLogger extends AbstractFriendicaLogger
13 public function __construct($channel, Introspection $introspection, Profiler $profiler)
15 parent::__construct($channel, $introspection, $profiler);
19 * Adds a new entry to the log
22 * @param string $message
23 * @param array $context
27 protected function addEntry($level, $message, $context = [])
29 // TODO: Implement addEntry() method.