for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/******************************************************************************
* An implementation of dicto (scg.unibe.ch/dicto) in and for PHP.
*
* Copyright (c) 2016 Richard Klees <[email protected]>
* This software is licensed under The MIT License. You should have received
* a copy of the licence along with the code.
*/
namespace Lechimp\Dicto\App;
use Psr\Log\AbstractLogger;
use Psr\Log\LogLevel;
class CLILogger extends AbstractLogger {
public function log($level, $message, array $context = array()) {
echo strtoupper($level).": ".$message."\n";
}