3 namespace Friendica\Util\Logger;
5 use Friendica\Util\Introspection;
6 use Friendica\Util\Profiler;
9 * A Logger instance for logging into a stream (file, stdout, stderr)
11 class StreamLogger extends AbstractFriendicaLogger
14 * The minimum loglevel at which this logger will be triggered
19 public function __construct($channel, Introspection $introspection, Profiler $profiler, $level)
21 parent::__construct($channel, $introspection, $profiler);
22 $this->logLevel = $level;
26 * Adds a new entry to the log
29 * @param string $message
30 * @param array $context
34 protected function addEntry($level, $message, $context = [])
36 // TODO: Implement addEntry() method.