src/ConsoleWriter.php
public function swrite($severity, $message='')
    {
        if($severity <= LOG_ERR) {
            fwrite(STDERR, $message . "\n");
        } else {
            fwrite(STDOUT, $message . "\n");
        }
    }
public function swrite($severity, $message='')
    {
        if($severity <= LOG_ERR) {
            fwrite(STDERR, $message . "\n");
        } else {
            fwrite(STDOUT, $message . "\n");
        }
    }
public function swrite ( $ severity , $ message = '' ) { if ( $ severity <= LOG_ERR ) { fwrite ( STDERR , $ message . "\n" ) ; } else { fwrite ( STDOUT , $ message . "\n" ) ; } }
If severity is equal or lower than LOG_ERR then the message is written
to STDERR, otherwise STDOUT is used.
If severity is equal or lower than LOG_ERR then the message is written to STDERR otherwise STDOUT is used .