src/ArkLogger.php
public function print($level, $message, array $context = array(), $enforceEndOfLine = true)
    {
        if ($this->shouldIgnoreThisLog($level)) {
            return;
        }
        $msg = $this->generateLog($level, $message, $context, $enforceEndOfLine);
        echo $msg;
    }
public function print($level, $message, array $context = array(), $enforceEndOfLine = true)
    {
        if ($this->shouldIgnoreThisLog($level)) {
            return;
        }
        $msg = $this->generateLog($level, $message, $context, $enforceEndOfLine);
        echo $msg;
    }
public function print ( $ level , $ message , array $ context = array ( ) , $ enforceEndOfLine = true ) { if ( $ this -> shouldIgnoreThisLog ( $ level ) ) { return ; } $ msg = $ this -> generateLog ( $ level , $ message , $ context , $ enforceEndOfLine ) ; echo $ msg ; }
If you want to output log directly to STDOUT, use this.
@since 2.0 renamed from echo to print
@param $level
@param $message
@param array $context
@param bool $enforceEndOfLine @since 2.1
If you want to output log directly to STDOUT use this .