friendica/src/Util/Logger/StreamLogger.php

32 lines
621 B
PHP
Raw Normal View History

<?php
namespace Friendica\Util\Logger;
use Friendica\Util\Introspection;
2019-02-28 09:41:31 +01:00
use Friendica\Util\Profiler;
/**
* A Logger instance for logging into a stream
*/
2019-02-28 09:41:31 +01:00
class StreamLogger extends AbstractFriendicaLogger
{
2019-02-28 09:41:31 +01:00
public function __construct($channel, Introspection $introspection, Profiler $profiler)
{
2019-02-28 09:41:31 +01:00
parent::__construct($channel, $introspection, $profiler);
}
/**
2019-02-28 09:41:31 +01:00
* Adds a new entry to the log
*
2019-02-28 09:41:31 +01:00
* @param int $level
* @param string $message
2019-02-28 09:41:31 +01:00
* @param array $context
*
2019-02-28 09:41:31 +01:00
* @return void
*/
2019-02-28 09:41:31 +01:00
protected function addEntry($level, $message, $context = [])
{
2019-02-28 09:41:31 +01:00
// TODO: Implement addEntry() method.
}
}