src/sb/Email/Reader.php
public function log($message)
    {

        if (!empty($this->log_file)) {
            //echo $message;
            \file_put_contents($this->log_file, "\n" . $message, \FILE_APPEND);
        }
    }
public function log($message)
    {

        if (!empty($this->log_file)) {
            //echo $message;
            \file_put_contents($this->log_file, "\n" . $message, \FILE_APPEND);
        }
    }
public function log ( $ message ) { if ( ! empty ( $ this -> log_file ) ) { //echo $message; \ file_put_contents ( $ this -> log_file , "\n" . $ message , \ FILE_APPEND ) ; } }
Logs messages to a log file if it is set

@param string $message
Logs messages to a log file if it is set