Moving Profiling to class
[friendica.git/.git] / src / Util / Logger / StreamLogger.php
1 <?php
2
3 namespace Friendica\Util\Logger;
4
5 use Friendica\Util\Introspection;
6 use Friendica\Util\Profiler;
7
8 /**
9  * A Logger instance for logging into a stream
10  */
11 class StreamLogger extends AbstractFriendicaLogger
12 {
13         public function __construct($channel, Introspection $introspection, Profiler $profiler)
14         {
15                 parent::__construct($channel, $introspection, $profiler);
16         }
17
18         /**
19          * Adds a new entry to the log
20          *
21          * @param int $level
22          * @param string $message
23          * @param array $context
24          *
25          * @return void
26          */
27         protected function addEntry($level, $message, $context = [])
28         {
29                 // TODO: Implement addEntry() method.
30         }
31 }