src/Comodojo/Daemon/Console/LogHandler.php
private function toConsole($time, $level, $message, $context) {

        $color = static::$colors[$level];

        $pattern = "<%s>%s</%s>";

        $message = sprintf($pattern, $color, $message, $color);

        $this->outputcontroller->out($message);

        if ( !empty($context) && $this->include_context ) {

            $this->outputcontroller->out(sprintf($pattern, $color, var_export($context, true), $color));

        }

    }
private function toConsole($time, $level, $message, $context) {

        $color = static::$colors[$level];

        $pattern = "<%s>%s</%s>";

        $message = sprintf($pattern, $color, $message, $color);

        $this->outputcontroller->out($message);

        if ( !empty($context) && $this->include_context ) {

            $this->outputcontroller->out(sprintf($pattern, $color, var_export($context, true), $color));

        }

    }
private function toConsole ( $ time , $ level , $ message , $ context ) { $ color = static :: $ colors [ $ level ] ; $ pattern = "<%s>%s</%s>" ; $ message = sprintf ( $ pattern , $ color , $ message , $ color ) ; $ this -> outputcontroller -> out ( $ message ) ; if ( ! empty ( $ context ) && $ this -> include_context ) { $ this -> outputcontroller -> out ( sprintf ( $ pattern , $ color , var_export ( $ context , true ) , $ color ) ) ; } }
Send record to console formatting it
Send record to console formatting it