for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Class ConsoleLog
*
* @filesource ConsoleLog.php
* @created 04.01.2018
* @package chillerlan\Logger\Output
* @author Smiley <[email protected]>
* @copyright 2018 Smiley
* @license MIT
*/
namespace chillerlan\Logger\Output;
class ConsoleLog extends LogOutputAbstract{
* @inheritdoc
protected function __log(string $level, string $message, array $context = null){
echo $this->message($level, $message, $context);
}
public function close():LogOutputInterface{
echo $this->message('log closed', '~~~');
return $this;