kb / app /Core /Log /Stdout.php
Xv Zan
ULFS
e4f4821
raw
history blame contribute delete
510 Bytes
<?php
namespace Kanboard\Core\Log;
/**
* Stdout logger
*
* @package Kanboard\Core\Log
* @author Frédéric Guillot
*/
class Stdout extends Base
{
/**
* Logs with an arbitrary level.
*
* @param mixed $level
* @param string $message
* @param array $context
* @return null
*/
public function log($level, $message, array $context = array())
{
file_put_contents('php://stdout', $this->formatMessage($level, $message, $context), FILE_APPEND);
}
}